fix_typography_in_selection
Correct typography in selected text or a story by fixing date spacing, quotes, dashes, and extra spaces for consistent typesetting.
Instructions
Fix typography in selected text or story. Corrects dates (DD.MM.YYYY with thin spaces), quotes, dashes, and other typographic elements.
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": "fix_typography_in_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixDates | No | Fix date spacing (DD. MM. YYYY) | |
| fixDashes | No | Fix hyphens to em/en dashes | |
| fixQuotes | No | Fix quotes to typographic quotes | |
| fixSpaces | No | Fix multiple spaces and trailing spaces | |
| pageIndex | No | Page index | |
| frameIndex | No | Text frame index to fix (use get_selected_objects to work with selection) | |
| useSelectedFrame | No | Use currently selected text frame |