Move or rename a document or subfolder
ragdown_moveRename or move a document or subfolder inside the documents folder and rewrite all wikilinks and relative Markdown links to the new path. It never overwrites existing targets.
Instructions
Rename or move a document, or a subfolder with everything in it, to a new path inside the documents folder. Every link that pointed at what moved ([[wikilinks]] and relative Markdown links, in any document) is rewritten to still point at it, and the result names the documents that were updated. Never overwrites: if something is already at to, nothing moves. Use this rather than ragdown_write plus a delete, which would break the links.
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>"
},
"name": "ragdown_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Its whole new path, name included: 'db/postgres.md', not 'db/'. Missing subfolders on the way are created. A document keeps a Markdown extension | |
| from | Yes | Path of the document or subfolder relative to the documents root, e.g. 'ops/pg.md' or 'ops' |