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.
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. | |
| 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. | |
| artifactId | Yes | The artifact: its id, its alias (bare, ~agent/alias or _team/alias), or its page URL. | |
| expectedWorkspaceRevision | No | Optional: refuse (CONFLICT) if the artifact changed since this workspaceRevision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||