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

# List unfinished tool calls across agents

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

## Request

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

Lists unfinished tool calls from every agent in the project, including subagents. Archived agents are excluded. Items are ordered by created_at ascending, then id ascending. Submit custom tool results against each call's agent_id.

## Path parameters

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

## Query parameters

- `state` 'awaiting_authorization' | 'awaiting_permission' | 'ready' | 'running' | 'waiting'
- `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.
- `names` string[]
- `agent_profile_id` string
- `limit` integer
- `cursor` string

## Response `200`

Unfinished tool calls in the project.

- 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`: 2 info
  - 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-11-09** `4349dd4a98eb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/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)
