Skip to content

Task: Add Resource Links in Tool Results #414

Open
@ezynda3

Description

@ezynda3

Priority: Medium
Breaking Change: No

Description: Tool calls can now return ResourceLinks in addition to full EmbeddedResources in results.

Implementation Tasks:

  • Add ResourceLink type with discriminator
  • Update ContentBlock union to include ResourceLink
  • Add support in tool result handling
  • Update examples to show resource linking
  • Add tests for resource link functionality

Files to Update:

  • mcp/types.go
  • mcp/tools.go
  • Content handling code

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mcp specIssues related to MCP specification compliancepriority: mediumMedium priority, should be addressed soon

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions