Manage Text
manage_textAdd, update, or clear text boxes and multi-level bulleted lists on PowerPoint slides, with automatic font scaling to prevent text overflow.
Instructions
Add, update, or clear text boxes and multi-level bulleted lists.
Features:
Multi-level indentation (levels 0-4)
Run-level bold, color, and size overrides
Automatic shrink-to-fit font scaling preventing box overflow
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>",
"action": "<action>"
},
"name": "manage_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Top coordinate in inches (for 'add') | |
| bold | No | Whether text is bold | |
| left | No | Left coordinate in inches (for 'add') | |
| text | No | Plain text content or single paragraph | |
| width | No | Width in inches (for 'add') | |
| action | Yes | Text action: 'add' (creates text box), 'update' (modifies shape), 'clear' | |
| height | No | Height in inches (for 'add') | |
| italic | No | Whether text is italic | |
| auto_fit | No | Automatically scale down font size based on character count | |
| alignment | No | Text horizontal alignment: left, center, right, justify | left |
| auto_save | No | Whether to automatically save changes to file_path on disk | |
| file_path | No | Path to presentation file within sandbox | |
| font_name | No | Font family name (e.g. 'Helvetica', 'Arial') | Arial |
| font_size | No | Font size in points (auto-fit if omitted and auto_fit=True) | |
| font_color | No | Hex font color e.g. '#1A1A1A' | #1A1A1A |
| shape_index | No | Shape index to update or clear (required for update/clear) | |
| slide_index | Yes | 0-based index of slide | |
| bullet_points | No | Multi-level bullet points or nested items | |
| presentation_id | No | In-memory presentation ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||