-
Notifications
You must be signed in to change notification settings - Fork 694
Labels
area: mcp specIssues related to MCP specification complianceIssues related to MCP specification compliancepriority: highHigh priority, needs immediate attentionHigh priority, needs immediate attention
Description
Priority: High
Breaking Change: No (backward compatible)
Description: Tools can now specify an outputSchema
and return structured content via structuredContent
field.
Implementation Tasks:
- Add
OutputSchema
field toTool
struct - Add
StructuredContent
field toCallToolResult
struct - Implement JSON schema validation for structured content
- Update tool registration to support output schemas
- Add helper functions for creating structured tool results
- Update examples to demonstrate structured output
- Add tests for schema validation
Files to Update:
mcp/tools.go
mcp/types.go
server/server.go
- Add new validation utilities
arun11299, Southclaws, anlihust, zsvs, appleboy and 5 more
Metadata
Metadata
Assignees
Labels
area: mcp specIssues related to MCP specification complianceIssues related to MCP specification compliancepriority: highHigh priority, needs immediate attentionHigh priority, needs immediate attention