repad
Pad every initiative number in a collection to one width (01-, 001-) — the given width, or the width most of its files use — renaming the files and their asset folders and rewriting every link to them across the repo.
Instructions
Pad every initiative number in a collection to one width (01-, 001-) — the given width, or the width most of its files use — renaming the files and their asset folders and rewriting every link to them across the repo. Dry run by default: returns each rename and link rewrite; pass dry_run: false to apply. Refuses a width too small for the highest number.
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>"
},
"name": "repad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Digits to pad to; default: the width most of the collection's files use. | |
| dry_run | No | Default true: plan only. | |
| collection | Yes |