Copy artifact
artifact_forkFork a readable non-table artifact (artifactId: 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).
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 |
|---|---|---|---|
| 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. 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 artifactId. | |
| artifactId | No | The artifact to copy (its current version): its id, alias or page URL. Not with versionId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | Yes |