List Tasks
tasksList serverless one-off GPU jobs in a workspace or retrieve a specific job by ID, filtering by status and viewing cost, exit code, and output-save progress.
Instructions
List serverless tasks (one-off GPU jobs) in a workspace, or show one by task_id (looks like "task_...").
Filter with status (queued, scheduling, pulling, fetching, running, succeeded, failed, timed_out, stopped); the
detail view includes cost and exit code. A task usually goes queued → scheduling → running → succeeded or failed;
pulling and fetching show only while an image or the input assets take a while to download.
outputs says where saving the task's /outputs files stands, as the console shows it; tell the user its
summary. Its phase is running until the task ends; preparing, uploading, retrying or registering while the
files are being saved (progress is files_so_far of files_to_upload); then saved (in Assets as
asset_name/asset_id), partially_saved, not_saved, discarded or empty.
A server without outputs sends output_upload_state instead: "skipped" or null with 0 files doesn't mean
nothing was saved — check with download_links(task=...).
workspace takes the id from the workspaces tool (a label also works); omit it if the user has only one.
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": "tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| limit | No | ||
| cursor | No | ||
| status | No | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||