Skip to main content
POST
/
v2
/
evaluators
/
execute
/
agent-tool-error-detector
Execute agent-tool-error-detector evaluator
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"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Request body

input
object
required

Response

OK

reason
string
Example:

"Tool executed successfully without errors"

result
string
Example:

"success"