Expand description
Tool, resource, and prompt schema definitions for MCP.
Field names follow the Model Context Protocol wire format (camelCase for
inputSchema / mimeType), so the serialized JSON is what MCP clients
expect from tools/list, resources/list, and prompts/list.
Structs§
- Prompt
Argument - A single argument accepted by an MCP prompt.
- Prompt
Description - Describes an MCP prompt (a reusable, parameterized message template) that a
client can list via
prompts/listand render viaprompts/get. - Resource
Description - Describes an MCP resource that an AI agent can read.
- Tool
Description - Describes an MCP tool that an AI agent can invoke.