Update text
update_textReplace all text inside a Google Slides shape or text box by object ID to update slide content programmatically.
Instructions
Replace all text inside a shape or text box. Get the object ID from get_slide.
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>",
"objectId": "<objectId>",
"text": "<text>"
},
"name": "update_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New text content | |
| objectId | Yes | Page element object ID from get_slide | |
| presentationId | Yes | Presentation ID. Found in the Google Slides URL: docs.google.com/presentation/d/<ID>/edit |