import_space
[Export and Import]
Validate a package against a pristine destination without changes. Apply imports atomically and adopts the source workspace ID. spaceId names the pre-import destination. New calls use the adopted ID; ambiguous-response retries retain the original payload and requestId.
Before you use this tool
apply writes into the destination workspace atomically. Run validate first.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| mode | string | Yes | validate checks the package without changes. apply imports it atomically. |
| package | json | Yes | The package that export_space returned. |
| spaceId | string | Yes | The pristine destination workspace. Discover it on the destination store before importing. |
| ifSnapshotRevision | string | No | The destination workspace's snapshotRevision, required for apply. |
| requestId | string | No | A fresh UUID, required for apply. Retry an ambiguous apply with the same requestId and package. |