Skip to main content

confirmation_binding

Function confirmation_binding 

Source
fn confirmation_binding(
    principal: &McpPrincipal,
    tool: &str,
    arguments: &Map<String, Value>,
) -> Result<String, RpcError>
Expand description

Binds a confirmation to the user, the tool and its exact arguments, so a sealed state can’t be replayed by someone else or for another change.