set_element_text
Replace the entire text content of a shape or table cell in one API call, clearing existing text and inserting new text.
Instructions
Replace ALL of a shape's (or table cell's) text in one call. (1 API call.)
Clears the element's existing text and sets it to text in a single batch
(deleteText + insertText). Safe to call on an empty element. This is the
ergonomic way to fill a freshly duplicated slide when the showcase example uses
real text rather than {{placeholder}} tokens.
Args: presentation_id: The presentation ID. element_id: The shape or table-cell object ID. text: The new full text content.
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>",
"element_id": "<element_id>",
"text": "<text>"
},
"name": "set_element_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| element_id | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||