---
title: "Execute agent-tool-error-detector evaluator"
method: POST
path: "/v2/evaluators/agent-tool-error-detector/execute"
tags: ["evaluators"]
---

# Execute agent-tool-error-detector evaluator

`POST /v2/evaluators/agent-tool-error-detector/execute`

Detect errors or failures during tool execution

**Request Body:**
- `input.tool_input` (string, required): JSON string of the tool input
- `input.tool_output` (string, required): JSON string of the tool output

## Request body

- RequestAgentToolErrorDetectorRequest
  - `input` RequestAgentToolErrorDetectorInput, required
    - `tool_input` string, required
    - `tool_output` string, required

## Response `200`

OK

- ResponseAgentToolErrorDetectorResponse
  - `reason` string
  - `success` boolean

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/traceloop/apis/traceloop-api.md) · [All operations](https://skmtc.net/traceloop/apis/traceloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traceloop/traceloop-api/versions/9c12a04a5947/schema)
