Move artifacts or a folder into workspace
workspace_adoptMove eligible standalone artifacts of yours (artifactIds, optionally into destinationFolderId) or a personal folder with its files (folder: its id or slug) into a workspace. audience defaults to internal (shared for an external editor). Sharing exposes its complete version history. The move is atomic and does not copy content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| folder | No | A personal folder to move in with its files: its id, or its slug. Not with artifactIds. | |
| audience | No | internal (the default for internal members) or shared (the only choice for external editors). | |
| artifactIds | No | Standalone artifacts of yours to move in (id, alias in any form, or page URL; at most 500, each once). Not with folder. | |
| workspaceId | Yes | The workspace id (UUID). | |
| destinationFolderId | No | With artifactIds: the workspace folder to file them in (its id); null or omitted files them at the root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | ||
| artifactIds | Yes |