trigger_upload
Run a data upload by its ID. Optionally block up to 120 seconds to get the final status (success or failure).
Instructions
Trigger an upload run.
Write tool: available only when this session was granted write access — the local server's --allow-write flag, or an OAuth consent in which the user approved write. Read-only sessions refuse it.
Args:
upload_id: The upload to run.
wait: If true, block until the run completes (up to 120s). The result
is returned either way -- a run that FAILED comes back as
{"status": "failed", "error_message": ...}, not as an error.
Check status; do not assume a returned result means success.
A wait that times out returns {"timed_out": true} with the run
still going.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| upload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |