Download Task Run Artifact
download_task_run_artifactDownload a task run artifact file as base64-encoded content. For files larger than 3MiB, fetch in chunks using a range header.
Instructions
Download a task run artifact file, returned base64-encoded. Artifacts such as a dbt manifest.json are often tens of MB. At most 3MiB of file content is returned per call; fetch larger files in chunks by passing range_header (e.g. 'bytes=0-3145727') and advancing the range each call.
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": {
"pipeline_run_id": "<pipeline_run_id>",
"task_run_id": "<task_run_id>",
"filename": "<filename>"
},
"name": "download_task_run_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| account_id | No | Act on this account rather than the one the credential resolves to. Omit it to use the credential's own account. An API key is issued to a single account, so it may only name that account; an OAuth token may name any account its grant covers. | |
| task_run_id | Yes | ||
| range_header | No | ||
| pipeline_run_id | Yes |