set_run_font
Set the font of a specific text run within a paragraph using its zero-based index and paragraph ID. Specify the paragraph, run index, and font name to apply formatting.
Instructions
Set the font of a specific run (zero-based index) in a paragraph.
Args: para_id: paraId of the target paragraph. run_idx: Zero-based index of the run. font_name: Font name (e.g., "Arial", "Times New Roman").
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>",
"font_name": "<font_name>"
},
"name": "set_run_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| run_idx | Yes | ||
| font_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |