Skip to content

Empty Input Schema Breaks Copilot CLI #1825

Description

@IvanMurzak

Describe the bug

Tools with no input parameters use an empty JSON Schema for their Input Schema. This causes Copilot CLI to reject the tool entirely and fail on any prompt when the MCP server is connected.

Error from Copilot CLI:

✘ Model call failed: {"message":"Invalid schema for function 'ai-game-developer-assets-prefab-save':
  In context=(), object schema missing properties.","code":"invalid_function_parameters"}
  (Request ID: D7FC:AD056:2DA15A3:3398963:69A8149D)

Affected version

0.0.365 Commit: 76d0881

Steps to reproduce the behavior

  1. To have an MCP tool with this Input Schema:
{
  "type": "object",
  "additionalProperties": false
}
  1. Start copilot.
  2. Type any prompt when connected to the MCP with the tool.

Result

Copilot is stuck producing this error again and again. Nothing else happens, doesn't matter what prompt to type. Only adding an input argument into the input json schema of the tool resolves the problem.

Sample (functional Input Schema)

{
  "type": "object",
  "properties": {
    "dummy": {
      "type": "string"
    }
  },
  "required": ["dummy"]
}

Expected behavior

Copilot doesn't have the error about MCP tool with no arguments and can continue to operate and use it.

Additional context

Seems like Copilot CLI requires every object schema to have a properties field. An empty object schema (with only additionalProperties: false and no properties) is rejected as invalid.

Activity

  1. added theissue type on Mar 4, 2026
  2. AndrewBert commented on Mar 5, 2026

    @AndrewBert

    Yes same here would love a fix!

  3. added
    area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registry
    area:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior
    and removed on Apr 16, 2026
  4. copilot-cli-bot commented on Sep 29, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.89. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

  5. IvanMurzak commented on Oct 2, 2026

    @IvanMurzak
    Author

    I don't think it was resolved. I just adding string empty into every MCP tool as a parameter to avoid this issue with Copilot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registryarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions