We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b6cded commit dff0cf5Copy full SHA for dff0cf5
1 file changed
src/agent-client-protocol-rmcp/src/builder.rs
@@ -329,9 +329,9 @@ impl<R: Role> ServerHandler for McpServerConnection<R> {
329
if has_structured_output {
330
Ok(CallToolResult::structured(result))
331
} else {
332
- Ok(CallToolResult::success(vec![rmcp::model::ContentBlock::text(
333
- result.to_string(),
334
- )]))
+ Ok(CallToolResult::success(vec![
+ rmcp::model::ContentBlock::text(result.to_string()),
+ ]))
335
}
336
337
Err(error) => Err(to_rmcp_error(error)),
0 commit comments