Word Create
word_createCreates a new Word (.docx) document at path with the given text content (and an optional title rendered as the heading). The path must be somewhere LMCP can write; Desktop/Documents/Downloads may need a one-time Files-and-Folders grant (System Settings → Privacy & Security → Files and Folders). Returns {created, path}. For a OneDrive or Google Drive path use onedrive_write_file / gdrive_write_file; to append to an existing doc use word_append, to read one word_read.
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": {
"path": "<path>",
"content": "<content>"
},
"name": "word_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output path for the .docx file | |
| title | No | Document title (optional) | |
| confirm | No | Ignored; kept for older clients. | |
| content | Yes | Document text content | |
| overwrite | No | Required (with confirm) to REPLACE a file that already exists at path. Without it an existing file is never touched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the created .docx file | |
| created | Yes | True when the document was created |