Skip to content

Add support for structuredContent #254329

Open
@peterbud

Description

@peterbud

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions