slides_set_text
Replace any slide shape's text with styling in one call, no character-index math needed. Target a placeholder via shape ID or create a new textbox.
Instructions
RECOMMENDED way to set/style a title, subtitle, body, or textbox: replaces the shape's text and styles it in one call, no character-index math needed. Pass shape_id from slides_list_elements to target a specific placeholder; omit it to create a new textbox.
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": {
"presentation_id": "<presentation_id>",
"slide_id": "<slide_id>",
"text": "<text>"
},
"name": "slides_set_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| text | Yes | ||
| color | No | ||
| italic | No | ||
| shape_id | No | ||
| slide_id | Yes | ||
| alignment | No | ||
| font_size | No | ||
| bullet_preset | No | ||
| presentation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |