move_doc
Move or rename a document, file, or folder and rewrite every [[wikilink]] pointing at it in a single attributed commit. Use dry_run=true to preview the links a move would rewrite.
Instructions
Move or rename a document, a file (a PDF, an image) or a folder with everything in it, rewriting the [[wikilinks]] that point at what moved, in one commit attributed to you. Refuses if the target exists. dry_run=true lists the links a document move would rewrite.
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": {
"from": "<from>",
"to": "<to>",
"ai": "<ai>"
},
"name": "move_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai | Yes | Your AI family in lowercase (claude, chatgpt, gemini), not the model name. Attributes the change. | |
| to | Yes | New path (same folder, new name: a rename; for a folder, its new path). | |
| from | Yes | Current path, e.g. notes/draft.md, or a folder, e.g. projects/old. | |
| dry_run | No | Report what it would rewrite; move nothing. |