format_text
Format text in Keynote presentations by adjusting font, size, color, bold, italic, and alignment on any slide and text item.
Instructions
Formats a text item with font, size, color, bold, italic, and alignment options
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": {
"slideIndex": "<slideIndex>",
"itemIndex": "<itemIndex>"
},
"name": "format_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | Whether text should be bold | |
| color | No | Text color as RGB hex string (e.g. '#FF0000' for red) | |
| italic | No | Whether text should be italic | |
| fontName | No | Font name (e.g. 'Helvetica', 'Arial') | |
| fontSize | No | Font size in points | |
| alignment | No | Text alignment | |
| itemIndex | Yes | 1-based text item index | |
| slideIndex | Yes | 1-based slide index |