set_run_size
Adjust the font size of a specific text run within a paragraph by providing the paragraph ID, run index, and desired point size.
Instructions
Set the font size of a specific run in a paragraph.
Args: para_id: paraId of the target paragraph. run_idx: Zero-based index of the run. size_pt: Font size in points (e.g., 12.0).
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>",
"size_pt": "<size_pt>"
},
"name": "set_run_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| run_idx | Yes | ||
| size_pt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |