docx.part_write
Write XML content directly to a specified part of a DOCX document by providing document ID, part path, and XML.
Instructions
Write a document part
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>",
"partPath": "<partPath>",
"xml": "<xml>"
},
"name": "docx.part_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | XML content | |
| docId | Yes | Document ID | |
| partPath | Yes | Part path |