> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Probe a tool's endpoint and report whether it works

> A broken tool fails silently during a conversation. Non-safe methods are probed with OPTIONS so the probe cannot cause a side effect.

A broken tool fails silently during a conversation. Non-safe methods are probed with OPTIONS so the probe cannot cause a side effect.

### Path parameters

<ParamField path="id" type="string (uuid)" required>
  The tool id.
</ParamField>

### Response

Returns `object`.

### Status codes

| Code  | Meaning                                                  |
| ----- | -------------------------------------------------------- |
| `200` | Probe result                                             |
| `401` | Missing, invalid, or expired API key.                    |
| `403` | The key lacks a required scope.                          |
| `404` | Not found, or not in the organization that owns the key. |
| `429` | Rate limit exceeded.                                     |

### Access

|                |                        |
| -------------- | ---------------------- |
| Required scope | `agents:read`          |
| Rate limit     | 10 requests per minute |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://response.stateset.com/api/v1/functions/{id}/test' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
