export_asset
Copies a revision's file bytes from the workspace to a specified external path, refusing to overwrite existing files unless overwrite=true is provided.
Instructions
Copy a revision's bytes out of the workspace to a destination path. Refuses to overwrite an existing file unless overwrite=true (ask the user first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | Yes | 書き出し先パス(ワークスペース外)。 | |
| overwrite | No | 既存ファイルを上書きしてよいか。既定 false(既存なら失敗する)。 | |
| revision_id | Yes | 書き出す revision ID("rev_...")。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 実際に書き出した絶対パス。 | |
| byte_size | Yes | ||
| overwritten | Yes | 既存ファイルを上書きした場合 true。 | |
| revision_id | Yes |