---
title: "List tool calls"
method: GET
path: "/orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls"
tags: ["Agents"]
---

# List tool calls

`GET /orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

Items are ordered by created_at ascending, then id ascending.

## Path parameters

- `orgID` string, required
- `projectID` string, required
- `agentID` string, required

## Query parameters

- `state` 'awaiting_authorization' | 'awaiting_permission' | 'ready' | 'running' | 'waiting' | 'completed': Current lifecycle state. awaiting_authorization has not evaluated its permission mode; awaiting_permission has an open authorization prompt; ready is authorized and eligible to run; running has an active worker; waiting has durable work that will complete the call independently; completed is terminal and includes outcome and completed_at. Custom calls remain ready until a consumer submits their result.
- `type` 'built_in' | 'custom' | 'mcp': Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
- `parent_tool_call_id` string
- `include_subagents` boolean
- `limit` integer
- `cursor` string

## Response `200`

Current tool calls.

- ListToolCallsResponse
  - `data` ToolCall[], required
    - `id` string, required
    - `agent_id` string, required
    - `turn_id` string, required
    - `provider_call_id` string, required
    - `caller` 'model' | 'program', required: Who made the call. model is the agent's model; program is a run_command process using `omnarad call`.
    - `parent_tool_call_id` string: The run_command call whose process made this call. Present only when caller is program.
    - `name` string, required
    - `input` ToolInput, required: Non-null JSON object containing the arguments emitted for a tool call.
    - `type` 'built_in' | 'custom' | 'mcp', required: Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
    - `state` 'awaiting_authorization' | 'awaiting_permission' | 'ready' | 'running' | 'waiting' | 'completed', required: Current lifecycle state. awaiting_authorization has not evaluated its permission mode; awaiting_permission has an open authorization prompt; ready is authorized and eligible to run; running has an active worker; waiting has durable work that will complete the call independently; completed is terminal and includes outcome and completed_at. Custom calls remain ready until a consumer submits their result.
    - `outcome` 'succeeded' | 'failed' | 'denied' | 'canceled': Terminal outcome, present only when state is completed.
    - `completed_at` string, date-time
    - `created_at` string, date-time, required
  - `next_cursor` string, nullable, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-12-01** `83d3defdb854`: 3 info
  - added the new optional `query` request parameter `parent_tool_call_id`
  - added the optional property `data/items/parent_tool_call_id` to the response with the `200` status
  - added the required property `data/items/caller` to the response with the `200` status
- **2026-10-05** `3d9e2cf46e07`: 136 info
  - added the optional property `current_digest` to the response with the `400` status
  - added the optional property `current_digest` to the response with the `401` status
  - added the optional property `current_digest` to the response with the `403` status
  - added the optional property `current_digest` to the response with the `404` status
  - …132 more
  - …this revision’s changelog is incomplete
- **2026-09-28** `acddeb8fc6a5`: 6 warning, 6 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `404`
  - …8 more
- **2026-09-15** `8594f08cedcd`: 2 info
  - added the new optional `query` request parameter `include_subagents`
  - added the required property `data/items/agent_id` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/agents/:agentID/tool-calls/get.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
