Skip to main content

tool_invocation_failed

Function tool_invocation_failed 

Source
pub fn tool_invocation_failed(provider: &str, tool: &str, reason: &str) -> Error
Expand description

Helper to create a “tool invocation failed” error

Error Code: MCP_E002