List jobs
list_jobsList jobs, newest first, with status, command, GPU, exit_code and cost_usd. A job runs one command on its own GPU machine (run_job starts one). Filter by tag, a name substring (q) or a group (group_id) to find earlier runs. cost_usd covers the machine's whole time, not only the command's: from when its machine came up until it stopped, so setup before the command (pulling the image, waiting for the GPU driver, unpacking code) is included, at each machine's hourly rate (cost_per_hour is the current one's) and with every attempt added up. It is in USD to six decimal places, so a short run is not shown as $0, and while the job runs it is the cost so far. The charge on the billing page can differ slightly: machines billed by the minute are charged whole minutes, including about 30 seconds of teardown, and time some hosts report offline is not charged.
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_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Only jobs whose name contains this | |
| tag | No | Only jobs with this tag, as key:value, e.g. "team:ml"; a list needs every one | |
| limit | No | How many jobs (default 20, max 100) | |
| status | No | Only these statuses, comma separated: queued, starting, running, succeeded, failed, cancelled, timed_out | |
| group_id | No | Only the jobs of this group (from run_job with count or params) | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |