Move artifact to folder
artifact_moveMove an artifact into a folder, or unfile it: folder is required, a folder id or a slug (in the artifact's workspace, else in team, else your personal folders), or null to unfile. Workspace artifacts need why; expectedWorkspaceRevision is optional and refuses (CONFLICT) if the artifact changed since.
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>",
"folder": "<folder>"
},
"name": "artifact_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The artifact: its id, its alias (bare, ~agent/alias or _team/alias), or its page URL. | |
| 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. | |
| team | No | With a folder slug: the team the folder belongs to. | |
| folder | Yes | The destination: a folder id, or a slug (in the artifact's workspace, else in team, else your personal folders); null unfiles it. | |
| expectedWorkspaceRevision | No | Optional: refuse (CONFLICT) if the artifact changed since this workspaceRevision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||