keynote_set_font
Enforce typographic consistency across Keynote slides by setting font family, size, and color on text elements.
Instructions
Set font family, size, and/or color on a text element. Any omitted fields are left unchanged. Use this to enforce typographic consistency across slides.
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": {
"slide_index": "<slide_index>",
"element_type": "<element_type>",
"element_index": "<element_index>"
},
"name": "keynote_set_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_index | No | Document index (0-based). Defaults to 0 (frontmost). | |
| slide_index | Yes | Slide index (0-based). | |
| element_type | Yes | Element collection to target. | |
| element_index | Yes | Element index within its collection (0-based). | |
| font_name | No | Font family name, e.g. "SF Pro Display", "Helvetica Neue". | |
| font_size | No | Font size in points. | |
| color | No | Text color as [r, g, b] 0–255. |