Macro tool_text_response

Source
macro_rules! tool_text_response {
    ($e:expr) => { ... };
}
Expand description

Creates a tool response with text content.

This macro generates a CallToolResponse containing the provided text.

ยงExamples

use mcp_core::tool_text_response;

let response = tool_text_response!("Hello, world!");