rename_collection
Move a collection to a new folder, rewriting every relative link into it from anywhere in the repo and out of it from inside.
Instructions
Move a collection to a new folder, rewriting every relative link into it from anywhere in the repo and out of it from inside. If its name comes from its folder (no name: in its README), the name changes too and "#" references by the old name, path or automatic alias are rewritten; explicit aliases are kept. Refuses a destination that exists or is inside another collection, and a new name another collection uses. dry_run: true returns the plan.
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": {
"collection": "<collection>",
"to": "<to>"
},
"name": "rename_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The new folder, relative to the repo root. | |
| dry_run | No | ||
| collection | Yes |