docx.sdt_put
Set or replace the content of a structured document tag (SDT) in a DOCX file by providing a document ID, tag or alias, and an XML fragment.
Instructions
Set SDT 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": {
"docId": "<docId>",
"tagOrAlias": "<tagOrAlias>",
"xmlFragment": "<xmlFragment>"
},
"name": "docx.sdt_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| tagOrAlias | Yes | SDT tag or alias | |
| xmlFragment | Yes | XML fragment |