Delete artifact
artifact_deleteMove an artifact to the trash for 30 days: reads then answer DELETED with the dates, and the alias stays held. Standalone: the owner or a platform admin. Workspace artifacts: anyone in the workspace but a viewer, with why; expectedWorkspaceRevision is optional and refuses (CONFLICT) if the artifact changed since. Repeating it returns the same dates.
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": "artifact_delete"
}
}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 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. | |
| expectedWorkspaceRevision | No | Optional: refuse (CONFLICT) if the artifact changed since this workspaceRevision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| purgeAt | Yes | ||
| deletedAt | Yes |