Skip to main content

Overview

Retrieve the complete definition of a tool including its input/output schemas, destructive flag, and metadata. Use this after search_tools to understand a tool’s interface before calling it via call_tool (HTTP transport) or in a run script (stdio transport).
Like search_tools, the HTTP transport’s read_tool only resolves paths from the per-user available catalog. A path that exists in the codebase but whose authProvider isn’t connected returns Tool not found: <path>.

Input

Annotations

  • readOnlyHint: true

Output

Returns the full ToolDefinition object:
If the tool is not found, returns an error message:

Also available in sandbox

Inside run scripts: