Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

762 pages for error.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Roots Model Context Protocol · in the page specification/draft/client/roots …e/user/repos/backend", "name": "Backend Repository" } ] ``` ## Error Handling If an error occurs, the client does not need to replay the initial call with an error message as the server is not… Sampling Model Context Protocol · in the page specification/draft/client/sampling …ached. * `"toolUse"`: The model wants to use one or more tools. ## Error Handling If an error occurs or the user declines the sampling request, the client does not need to replay the initial call… Specification Model Context Protocol · in the page specification/draft/index …ional Utilities * Configuration * Progress tracking * Cancellation * Error reporting ### Extensions Beyond the core protocol, MCP defines optional [extensions](/extensions/overview) that add modula… Schema Reference Model Context Protocol · in the page specification/draft/schema …="schema-reference" /> ## JSON-RPC <div class="type"> ### `JSONRPCErrorResponse` <div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface"… Discovery Model Context Protocol · in the page specification/draft/server/discover …ient may invoke any RPC inline and handle [`UnsupportedProtocolVersionError`](/specification/draft/schema#unsupportedprotocolversionerror) if the server does not support the requested version. However… Prompts Model Context Protocol · in the page specification/draft/server/prompts …or other reference materials directly into the conversation flow. ## Error Handling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Invalid prompt name: `-32602` (Inv… Resources Model Context Protocol · in the page specification/draft/server/resources …f.org/doc/html/rfc3986), taking the above guidance in to account. ## Error Handling If the requested resource does not exist, servers **MUST** return a JSON-RPC error with code `-32602` (Invalid Par… Tools Model Context Protocol · in the page specification/draft/server/tools …\nTemperature: 72°F\nConditions: Partly cloudy" } ], "isError": false } } ``` ### Input Required Tool Results Servers **MAY** respond to `tools/call` with an [`InputRequiredResult`](… Caching Model Context Protocol · in the page specification/draft/server/utilities/caching …reason to believe the data has changed (e.g., receiving an unexpected error on a tool call indicating the method was not found or the parameters were invalid). Clients **MAY** serve stale responses i… Completion Model Context Protocol · in the page specification/draft/server/utilities/completion …l`: Optional total matches * `hasMore`: Additional results flag ## Error Handling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Method not found: `-32601` (Capabi… Logging Model Context Protocol · in the page specification/draft/server/utilities/logging …| Warning conditions | Deprecated feature usage | | error | Error conditions | Operation failures | | critical | Critical conditions | Syste… Pagination Model Context Protocol · in the page specification/draft/server/utilities/pagination …rsor and thus **MUST NOT** be treated as the end of results) ## Error Handling Invalid cursors **SHOULD** result in an error with code -32602 (Invalid params).
Feedback