Skip to main content

send_and_respond

Macro send_and_respond 

Source
macro_rules! send_and_respond {
    ($self:expr, $tool_name:expr, $cmd:expr) => { ... };
}
Expand description

Helper to send a command and return the JSON response.

Each tool call starts an independent Sentry transaction following the MCP tracing spec, so it gets reported regardless of the long-lived rmcp service span.