---
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

## Changes

> 11 revisions in range; 1 could not be searched.

- **2026-04-12** `bd3e46b75d87` — 1 info
  - endpoint added
- **2026-01-01** `aef6c851927f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/traceloop/apis/traceloop-api/changes/v2/evaluators/agent-tool-error-detector/execute/post.md)

---

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