Fetch ACP job logs
sco_acp_job_logsRetrieve a snapshot of an ACP job's logs by job ID or name, then rerun to poll for updates. Use workspace, worker, or container options to target specific logs.
Instructions
Return a snapshot of a job's logs (sco acp jobs stream-logs). Streaming mode is never used because a tool call must terminate; rerun to poll.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jobId": "<jobId>"
},
"name": "sco_acp_job_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ACP job id (trailing segment of `id` from sco_acp_job_list, e.g. om-59u5pwy4) or job name. The display_name is not accepted by the CLI. | |
| workspace | No | Workspace name. Defaults to the SCO_WORKSPACE environment variable when omitted. | |
| workerName | No | Worker/pod name such as master-0; defaults to the first pod | |
| containerName | No | Container inside the worker; defaults to the primary container |