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. Everyone in the workspace then sees them, with every version they keep. The move is atomic and does not copy content. A folder whose slug the workspace already holds (a folder in its trash included) is refused FOLDER_EXISTS (STATE_CONFLICT, details.field folder): rename one of them first (folder_update newSlug).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "workspace_adopt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workspace: its id or its slug. | |
| why | No | Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); 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. | |
| 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. | |
| destinationFolderId | No | With artifactIds: the workspace folder to file them in (its id, or its slug in this workspace); null or omitted files them at the root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | ||
| artifactIds | Yes |