list_runs
List your recent runs started through MCP on the cloud server, newest first. Use it to answer questions such as "show my most recent runs" or to find a run_id for get_run. Each run has run_id, automation_id, automation_name, target, status, terminal, created_at, started_at, finished_at, and for failed, stopped, or unknown runs a short errorMessage and, as in get_run, an errorCode when the status has one (RESULT_UNKNOWN for unknown). Status is queued, running, succeeded, failed, stopped, or unknown. Outputs and files are not included; call get_run with a run_id for them. When next_cursor is returned, pass it as cursor to read older runs; a page can be empty or short while next_cursor is present, so keep paging until next_cursor is absent. Errors can include INVALID_INPUTS, BUSY (retryable), or UNAUTHORIZED.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of runs to return. Defaults to 10, with a maximum of 50. | |
| cursor | No | The next_cursor value from a previous list_runs result, to read older runs. | |
| status | No | Only list runs with this status. | |
| automation_id | No | Only list runs of this automation, using the id returned by list_automations. |