List agents
agents_listList a project's agents with current activity, newest first by default. Include archived agents or subagents only when requested.
Instructions
Lists the project's agents with their current activity, newest first by default. Archived agents and subagents are excluded unless requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard. | |
| sort | No | Sort order for named resources that expose created and modified timestamps. | |
| limit | No | Maximum number of items to return in one page. | |
| orgID | Yes | Organization ID (org_...). | |
| cursor | No | Opaque pagination cursor from a previous response's next_cursor. Omit for the first page. | |
| projectID | Yes | Project ID (proj_...). | |
| include_usage | No | Include each agent's `usage`, so a list can show costs without a request per agent. | |
| parent_agent_id | No | Return only subagents spawned by this agent. | |
| agent_profile_id | No | Return only agents launched from this agent profile. | |
| include_archived | No | Include archived agents. Defaults to false. | |
| include_subagents | No | Include subagents alongside top-level agents. Defaults to false, so only agents without a parent are returned unless parent_agent_id is set. |