fetch_job_file
Download a job result file to a local path after a file delivery. Supports resume and enforces a maximum file size.
Instructions
Download a job result that was delivered as a FILE (transferred P2P via iroh) to a local path. Use this after submit_and_pay_job or get_job_result reports a file result. Resumable and bounded by a max file size; the bytes are written to disk, never returned to you inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_event_id | Yes | ||
| output_path | Yes | Local path to write the downloaded result file to. | |
| allow_outside_cwd | No | Allow writing outside the MCP server working directory. Off by default: the bytes come from an untrusted provider, so writes are confined to the working directory subtree (and never to a secret/auto-run path) unless this is set. | |
| provider_npub | No | ||
| kind_offset | No | ||
| timeout_secs | No |