add_text
Add text to a slide in a PowerPoint presentation, with options to set font size, color, bold, italic, alignment, and position.
Instructions
Add text to a slide with various formatting 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": {
"presentationId": "<presentationId>",
"slideNumber": "<slideNumber>",
"text": "<text>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Height in inches (default: 1) | |
| w | No | Width in inches (default: 8) | |
| x | No | X position in inches (default: 1) | |
| y | No | Y position in inches (default: 1) | |
| bold | No | Bold text | |
| text | Yes | The text content to add | |
| align | No | Text alignment (left, center, right, justify) | |
| color | No | Text color (hex format like '363636') | |
| italic | No | Italic text | |
| fontSize | No | Font size in points (default: 18) | |
| slideNumber | Yes | Slide number (1-based index) | |
| presentationId | Yes | The ID of the presentation |