export_project_archive
Export a Cloud project's Core runtime slice as a portable .r402ar archive, excluding secrets and credentials. Supports waiting for readiness and downloading to a local path.
Instructions
Export the supported Run402 Core runtime slice of a Cloud project as a portable .r402ar archive. Can wait for readiness and write the downloaded archive to a local path. Secrets, credentials, billing, allowance, logs, fleet, and Cloud operations are never exported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | Auth export mode. Default stubs; credentials are never exported. | |
| wait | No | Poll until ready. Defaults true when output_path is set, otherwise false. | |
| scope | No | Archive scope. v1 supports portable-runtime-v1. | |
| project_id | Yes | Project ID to export from Run402 Cloud. | |
| timeout_ms | No | Wait timeout in milliseconds. Default 600000. | |
| consistency | No | Consistency mode. Default pause-writes, recorded as cloud_write_pause_v1. | |
| output_path | No | Optional local file path for the downloaded .r402ar archive. When set, the tool waits for readiness and writes bytes here. | |
| idempotency_key | No | Retry-safe idempotency key for archive creation. | |
| poll_interval_ms | No | Polling interval in milliseconds. Default 1000. |