document.set_text
Replace text in a text box or auto-shape by shape ID, enabling AI agents to update slide content directly.
Instructions
Replace the text on a text/auto-shape.
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": {
"shape_id": "<shape_id>",
"text": "<text>"
},
"name": "document.set_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| shape_id | Yes |