Attach File To Launch
attach_file_to_launchAttach a file to an existing launch by push or pull. Push returns a one-use HTTPS upload URL; pull reads from the configured import root.
Instructions
Attach one file to an existing launch through a secure push or pull transfer.
Push is available only from a persistent HTTP MCP server with an externally reachable HTTPS URL. It returns a short-lived one-use raw upload URL; POST bytes with exactly the returned content type and no TestOps bearer token. Pull reads a regular file below the deployment's configured import root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Safe display filename for the launch attachment. | |
| launch_id | Yes | Existing launch ID that will receive the file. | |
| project_id | No | Optional override for the default Project ID. | |
| source_path | No | Required only for pull; relative paths resolve below LAUNCH_ATTACHMENT_IMPORT_ROOT. | |
| content_type | No | Required for push; optional for pull and inferred from the filename when absent. | |
| output_format | No | Output format: 'json' (default) or 'plain'. | |
| transfer_mode | No | push returns a one-use HTTPS upload URL; pull reads from the configured import root. | push |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| state | Yes | ||
| launch_id | Yes | ||
| attachment | No | ||
| expires_at | No | ||
| upload_url | No | ||
| content_type | No | ||
| upload_method | No | ||
| max_file_bytes | No |