set_character_spacing
Adjust the tracking of text in a paragraph run by setting character spacing in points. Specify paragraph ID, run index, and spacing value to expand or condense letters.
Instructions
Set character spacing (tracking) for a specific run in a paragraph.
Args: para_id: paraId of the target paragraph. run_idx: Zero-based index of the run. spacing_pt: Spacing in points (positive = expanded, negative = condensed).
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": {
"para_id": "<para_id>",
"run_idx": "<run_idx>",
"spacing_pt": "<spacing_pt>"
},
"name": "set_character_spacing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| run_idx | Yes | ||
| spacing_pt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |