Agents

List tool calls

Changed on

Items are ordered by created_at ascending, then id ascending.

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

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

agentID, string required

Agent ID (agt_...).

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

Return only the calls a run_command call's process made with omnarad call, by that run_command call's ID.

include_subagents, boolean

Also return tool calls from this agent's subagents at every depth. Each row's agent_id says which agent made the call.

limit, integer

Maximum number of items to return in one page.

cursor, string

Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Response

Current tool calls.

ListToolCallsResponse required
data, ToolCall[] required
next_cursor, string nullable required

Changes

    • info

      added the new optional query request parameter parent_tool_call_id

    • info

      added the optional property data/items/parent_tool_call_id to the response with the status

    • info

      added the required property data/items/caller to the response with the status