Move or delete artifacts in bulk
artifact_bulkApply move or delete independently to at most 200 artifacts (ids: their ids, aliases or page URLs). move needs its destination: folder (an id, or a slug in the artifacts' workspace, else in team, else your personal folders), or folder: null to unfile them. delete moves each to the trash for 30 days and returns their dates; it takes no folder or team. Workspace items need why; a revision entry per item is optional and refuses (CONFLICT) that item if it changed since. Returns how many succeeded and, per failed item, its id and the refusal code its own call answers; nothing is retried.
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": {
"action": "<action>",
"ids": "<ids>"
},
"name": "artifact_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | The artifacts: at most 200, each named once. | |
| 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. | |
| team | No | move with a folder slug: the team the folder belongs to. | |
| action | Yes | ||
| folder | No | move only, and required: the destination folder (an id, or a slug in the artifacts' workspace, else in team, else your personal folders), or null to unfile them. | |
| expectedWorkspaceRevisions | No | Optional, per artifact (keyed as named in ids): refuse (CONFLICT) that item if it changed since. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | Yes | ||
| deleted | No | ||
| succeeded | Yes |