Read a job output
read_job_artifactRead one file a job kept (a path from list_job_artifacts). A text file up to 1 MB comes back inline as text; a larger or binary file comes back as url, a download link valid for an hour. Docs: https://www.runcrate.ai/docs/api-reference/jobs/download-a-job-output
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": {
"id": "<id>",
"path": "<path>"
},
"name": "read_job_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job ID | |
| path | Yes | The path list_job_artifacts gave, relative to the outputs directory, e.g. "metrics.json" | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |