cURL
curl --request POST \ --url https://api.traceloop.com/v2/evaluators/execute/agent-tool-error-detector \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "input": { "tool_input": "{\"action\": \"search\", \"query\": \"flights to Paris\"}", "tool_output": "{\"status\": \"success\", \"results\": [{\"flight\": \"AF123\", \"price\": 450}]}" } } '
{ "reason": "Tool executed successfully without errors", "result": "success" }
Detect errors or failures during tool execution
Request Body:
input.tool_input
input.tool_output
Type "Bearer" followed by a space and JWT token.
Request body
Show child attributes
OK
"Tool executed successfully without errors"
"success"
Was this page helpful?