---
title: "List tool test runs"
method: GET
path: "/v1/senders/{senderId}/agent/tools/{toolId}/test-runs"
tags: ["Agent Tools"]
---

# List tool test runs

`GET /v1/senders/{senderId}/agent/tools/{toolId}/test-runs`

Recent runs of this tool triggered from the test endpoint, newest first. Covers manual tests only: a tool called by an agent during a real conversation is not recorded here.

## Path parameters

- `senderId` string, required
- `toolId` string, required

## Query parameters

- `limit` integer

## Response `200`

Recent test runs.

- object
  - `items` AgentToolTestRun[], required
    - `id` string, required
    - `toolId` string, required
    - `params` object — The parameters the tool was called with.
    - `success` boolean, required — Whether the tool returned without error. A tool that answered with a non-2xx status is a failed run, not an error of this endpoint.
    - `statusCode` integer, nullable — HTTP status the tool's webhook returned. Absent for tools that do not go over HTTP.
    - `response` string, nullable — The tool's response body, truncated.
    - `error` string, nullable — Why the run failed, when it did.
    - `durationMs` integer, required
    - `createdAt` string, date-time, required

## Other responses

- `401` — Unauthorized.
- `404` — Tool not found.

---

[API](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api.md) · [All operations](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zavudev/zavu-unified-messaging-layer-api/revisions/07b87b6ae707/schema)
