Skip to content

spec should define a unique ID for resource templates #566

@jba

Description

@jba

The spec specifies a unique identifier for tools (name), prompts (name) and resources (URI), but not resource templates. It's possible but awkward to work with resource templates without a unique ID, and odd that they don't behave like the other features.

In fact, all of the four official SDKs assume a unique ID for resource templates. The typescript SDK uses the name, and the Python, Java and C# SDKs use the URI. So this gap in the spec has already led to incompatible behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions