Skip to content

Commit e329486

Browse files
authored
docs: update crates/rmcp/src/model.rs
1 parent 1c4659e commit e329486

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

crates/rmcp/src/model.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2855,10 +2855,7 @@ impl CallToolResult {
28552855
/// right choice for almost every "the tool ran and didn't work" case.**
28562856
///
28572857
/// - **Protocol error** — `Err(ErrorData)` with a JSON-RPC code.
2858-
/// The server cannot route the request at all: the tool name is
2859-
/// unknown ([`ErrorCode::METHOD_NOT_FOUND`]), the parameters cannot
2860-
/// be parsed or fail schema validation
2861-
/// ([`ErrorCode::INVALID_PARAMS`], `-32602`), or an infrastructure
2858+
/// The server cannot route the request at all, or an infrastructure
28622859
/// error makes the server itself unusable
28632860
/// ([`ErrorCode::INTERNAL_ERROR`], `-32603`). MCP clients typically
28642861
/// render protocol errors opaquely (e.g. "Tool result missing due to

0 commit comments

Comments
 (0)