fork_document
Copy a document at one version into a new document with its own history, for a variant, an experiment, or a new video from a template. The original doesn't change.
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": {
"document_id": "<document_id>"
},
"name": "fork_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new document's name; the original's when absent. | |
| alias | No | An alias, such as `latest`; `latest` when neither this nor `version` is given. | |
| version | No | A version, by number. | |
| project_id | No | The project to put it in; the original's when absent. | |
| document_id | Yes | The document to fork, `doc_…`. |