# One tool call.

> https://koi.dog/docs/api/tools/get-tool-call/

`GET /api/v1/tool-calls/{id}` · Scope: `read`

## Path parameters.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | The tool call's id. |

## Response.

200 OK · JSON object

## Request.

```sh
curl "https://api.koi.dog/api/v1/tool-calls/$ID" \
    -H "Authorization: Bearer $KOIDOG_API_KEY"
```

```js
const res = await fetch(`https://api.koi.dog/api/v1/tool-calls/${process.env.ID}`, {
  headers: {
    Authorization: `Bearer ${process.env.KOIDOG_API_KEY}`,
  },
});
console.log(await res.json());
```

```python
import os

import requests

r = requests.get(
    f"https://api.koi.dog/api/v1/tool-calls/{os.environ['ID']}",
    headers={
        "Authorization": f"Bearer {os.environ['KOIDOG_API_KEY']}",
    },
)
r.raise_for_status()
print(r.json())
```

## Response example.

```json
{
  "id": "string",
  "crewId": "string",
  "agentId": "string",
  "runId": "string",
  "provider": "monid",
  "toolProvider": "string",
  "endpoint": "string",
  "kind": "automatic",
  "state": "awaiting_approval",
  "settlement": "reserved",
  "reservedUsd": 0,
  "costUsd": 0,
  "approvalId": "string",
  "summary": "string",
  …
}
```
