cmd_list
Lists recent command runs, newest first, so you can find a lost run ID, check what is still running, or see whether a request was approved or denied.
Instructions
Lists the most recent command runs, newest first. Each row: run number, status (waiting for approval, queued, running, succeeded, failed, timed out, cancelled or denied), operation, workspace, the command line (cut at 90 characters) and how long ago it was requested. Reads only. WHEN TO USE: to find a run id you no longer have, to see what is still running before you start another build or app, or to check whether the owner approved or denied a request. Then cmd_output reads a run's output, cmd_wait waits for one that is still going and cmd_stop ends one. Not for output itself: rows carry no output.
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": "cmd_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guide | No | true: put the commands guide first in the result. Use on your first commands call, or when told it changed. | |
| limit | No | Optional: how many runs to show (default 10, 1 to 30). | |
| workspace | No | Optional: only runs of this workspace (name as shown in Waymark). Omit for runs of every workspace and system scripts. |