ToolError
An exception from the `mcp` package. Raising it sends your message to the model as a tool error, while any other exception reaches the client only as a generic message.
An exception from the `mcp` package. Raising it sends your message to the model as a tool error, while any other exception reaches the client only as a generic message.