Upload new document version
clio_document_upload_versionUpload a local file as a new version of an existing Clio document while keeping previous versions in history; preview changes, then confirm to apply the write.
Instructions
Uploads a local file as a new version of an existing document in Clio (previous versions stay in the history). Write operation – preview first, then confirm with the token from the preview.
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>",
"file_path": "<file_path>"
},
"name": "clio_document_upload_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name in Clio; default the local file name | |
| confirm | No | confirm=true performs the write. Use it directly when the user's request contains everything needed; call without confirm (preview) only when you want to check the data first or something is unclear. | |
| file_path | Yes | Absolute path to the file on the PC | |
| document_id | Yes |