set_content_control_text
Replaces the text of a template field (content control) by its ID, with optional title and tag updates, so you can update document placeholders directly in an open Word document.
Instructions
Replace the text of a content control (template field) identified by its id from list_content_controls. Optionally update its title and tag.
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": {
"id": "<id>",
"text": "<text>"
},
"name": "set_content_control_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Content control id from list_content_controls. | |
| tag | No | New tag for the content control. | |
| text | Yes | New text for the content control. | |
| title | No | New title for the content control. | |
| documentId | No | Target document ID from list_documents. Optional when only one document is connected. |