Error that can appear in the "error" branch of ToolContextHandle: a ToolError when the tool answered with isError: true, or a ToolCancelledError when the host cancelled the call.
"error"
isError: true
Error that can appear in the
"error"branch of ToolContextHandle: a ToolError when the tool answered withisError: true, or a ToolCancelledError when the host cancelled the call.