list
Show all Cursor SDK agents with their state, elapsed time, cost, and latest activity, filtered by session, directory, or all.
Instructions
List agents with their state, elapsed time, cost and latest activity. One line each.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | session (default) = spawned by this Claude session; cwd = this directory; all = everything. | |
| activeOnly | No | Exclude finished, errored and cancelled agents. |