-
Notifications
You must be signed in to change notification settings - Fork 723
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
OutputSchemafield toToolstruct - Add
StructuredContentfield toCallToolResultstruct - 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.gomcp/types.goserver/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