Add Text Box
add_textboxAdd a text box to a specific slide in an open PowerPoint presentation, setting its text, position, and size. Returns the new shape's name and index.
Instructions
Add a text box to a slide.
Args: presentation: Presentation name or path (None = active presentation). slide_index: 1-based slide index (required). text: Text content. left, top, width, height: Position and size in points.
Returns: JSON with the new shape's name and 1-based index on the slide.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_textbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| text | No | ||
| width | No | ||
| height | No | ||
| slide_index | No | ||
| presentation | No |