Move Document
move_documentMove a document or folder to a different parent folder in the binder, optionally insert at a specific index. Keep content unchanged.
Instructions
Move a document or folder to a different parent folder in the binder, optionally at a specific position among the target folder's children. Changes only the location, not the content. Requires an open project, a valid document id, and a valid target folder id.
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": {
"documentId": "<documentId>",
"targetFolderId": "<targetFolderId>"
},
"name": "move_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Write even if the project appears open in Scrivener. Default false, which refuses the write to protect against your changes being overwritten by Scrivener on save. | |
| position | No | Zero-based index at which to insert the item among the target folder's children. Omit to append at the end. | |
| documentId | Yes | Scrivener document UUID, as returned by get_structure (a binder item "id"). | |
| targetFolderId | Yes | UUID of a binder folder, as returned by get_structure. |