function createErrorResult(error): ToolExecutionResult;
Defined in: tools/define.ts:109
Create an error result for a tool
error
string
Error
ToolExecutionResult