---
search:
  tags:
    - Tools
    - POST
seo:
  description: >-
    Call a read-only tool. Send {input: {...}} using the schema matching the
    path's tool name. JSON requests are limited to 65,536 bytes. A 200 response
    can…
sidebar:
  label: Call a read-only tool
  badge: POST
title: Call a read-only tool
type: openapi-operation
---
Call a read-only tool. Send &#123;input: &#123;...&#125;&#125; using the schema matching the path's tool name. JSON requests are limited to 65,536 bytes. A 200 response can contain ok:false.

`POST /api/v1/tools/{tool}/call`

**Request body** (`application/json`, required)

- `input` (object, required)

Request body example:

```json
{
  "input": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `200` — Tool result; inspect ok and error.
- `400` — Invalid request. Query parameters are not accepted. Tool validation failures may use a tool error envelope.
- `401` — Missing, invalid or expired bearer credential.
- `403` — The credential lacks required permissions.
- `404` — The machine API or requested tool is unavailable.
- `413` — The request exceeds the byte limit.
- `429` — Rate limit exceeded. The error is retryable.
- `503` — The API or its upstream execution is unavailable.

Response example, 200:

```json
{
  "ok": true,
  "output": "string",
  "toolName": "adAuditQuote"
}
```
