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.
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": {
"workspaceId": "<workspaceId>"
},
"name": "workspace_adopt"
}
}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. | |
| 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: its id or its slug. | |
| 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 |