text
Edit Inkscape document strings in one undoable batch, including substring swaps that keep mixed formatting like bold and superscript.
Instructions
Change text in ONE undoable batch. edits: [{"id": text id, "text": "new text; \n for new lines"}] keeps the first run's style. replace: [{"old": "…", "new": "…", "ids": optional scope}] swaps a substring inside existing runs, preserving mixed formatting (bold words, superscripts).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | No | ||
| edits | No | ||
| replace | No | ||
| expected_revision | No |