Move document
move_documentRelocate a document to another collection or under a different parent; omit the parent ID to place it at the collection's top level.
Instructions
Move a document to another collection and/or under a different parent document. Omit parentDocumentId to move it to the top level of the collection.
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": {
"id": "<id>"
},
"name": "move_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id | |
| index | No | Position among siblings | |
| collectionId | No | Target collection id | |
| parentDocumentId | No | Target parent document id |