Skip to content

docs: show how to describe dynamically created tools - #2074

Open
ccoquette wants to merge 1 commit into
modelcontextprotocol:mainfrom
ccoquette:docs/dynamic-tool-metadata
Open

ccoquette wants to merge 1 commit into
modelcontextprotocol:mainfrom
ccoquette:docs/dynamic-tool-metadata

Conversation

@ccoquette

Copy link
Copy Markdown

Related to #2029.

Adds an example for describing a parameter on a reflected method and supplying an explicit schema for its structured result. It also notes where to describe a text-only result. No runtime behavior changes.

AI-assisted change. Checked the public API and option handling against source, parsed the XML, and verified the diff. The snippet was not compiled or run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant