card_reauthor
Redraw recorded cards at the current canvas shape after a resize, fixing pillarboxing. Plan mode previews what would change without writing.
Instructions
Draw recorded cards again at the shape this project renders at now.
Reach for this after canvas — a card is the only thing in a project
whose shape a canvas change cannot fix on its own, because the aspect is
baked into the SVG it was drawn from. Re-rendering the old SVG at the new
size would pillarbox the card inside the frame; this fills the template
again at the new canvas, from what card_new recorded.
With no name it sweeps every recorded card the canvas has left behind,
plus any whose files have gone missing. Named, it redraws that one
whatever its canvas.
Read unrecorded in the result. Those are cards with files on disk and
no record of what made them — nothing can re-author one, and the way to
fix it is card_new with overwrite, which records it on the way past.
plan reports what would change and writes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | One card to redraw, whatever its canvas. Omit it to sweep every recorded card the canvas has left behind, plus any whose files have gone missing. | |
| path | No | The project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing. | |
| plan | No | Resolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||