Copy artifact
artifact_forkFork a readable non-table artifact (id: its current version) or one version by its own id (versionId), as POST /v0/forks. The copy lands in the source's workspace when you can write there (with why); a workspace file you read only by its public link lands standalone in your own account (no why); a standalone source lands standalone. folder files it: a folder id, or a slug (in the workspace the copy lands in, else in team, else your personal folders). The receipt's forkedFrom names the version copied: { artifactId, versionId, version }, as artifact_get and artifact_list state it. The copy keeps the source's description; a workspace copy with none returns a hint saying so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "artifact_fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The artifact to copy (its current version): its id, alias or page URL. Not with versionId. | |
| 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. Not needed for a copy that lands in your own account. At most 300 characters. | |
| team | No | With a folder slug: the team the folder belongs to. | |
| title | No | The copy's title (default: the source's). | |
| folder | No | The folder to file the copy in: an id, or a slug (in the workspace the copy lands in, else in team, else your personal folders). | |
| versionId | No | One version to copy, by its own id (it names its artifact). Not with id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | Yes |