Documentation / @agentick/mcp / toolError
Function: toolError()
toolError(
message):object
Defined in: protocol/errors.ts:53
Create an error CallToolResult with isError: true. Always sanitizes the error message to prevent information leakage.
Parameters
message
string
Returns
object