word_write_document
Write text content to a new Word document, with an optional title.
Instructions
将内容写入 Word 文档。
创建新的 Word 文档并写入内容。如果提供了标题,会将标题作为文档标题添加。
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": {
"content": "<content>",
"file_path": "<file_path>"
},
"name": "word_write_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 要写入的文本内容 | |
| file_path | Yes | 输出 Word 文档路径 | |
| title | No | 可选的文档标题 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||