artifact_download
Download a specific artifact from a Codespaces job to a local path, verifying its integrity against the manifest and avoiding overwriting existing files.
Instructions
Download one artifact declared in job_submit and listed in job_get (state collected) to a new local absolute path. Uses the local archive when the job was exported (no Codespace needed), otherwise copies the frozen artifact with gh codespace cp. The copy is verified against the manifest (size and SHA-256 per file) before it is placed; existing files are never overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| locale | No | en | |
| artifact | Yes | ||
| projectId | Yes | ||
| localDestination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||