Open
Description
The latest MCP spec from 18th June adds a new return type: instead of the unstructured content
, output with output schema should return a structuredContent
object. See here more.
Current behavior
VS Code agent mode is expecting only a content
object as a return from a tool, and fails if the tool returns structuredContent
.
Expected behavior
VS Code copilot in agent mode should be able to process both content
and structuredContent
outputs