OneDrive Write File
onedrive_write_fileWrites text content to a file in OneDrive. Overwriting an existing file keeps its previous version first, in LMCP's own folder, and the answer says where (previous_version).
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": "onedrive_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file in OneDrive | |
| confirm | No | Ignored; kept for older clients. | |
| content | Yes | Text content to write |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bytes | Yes | ||
| written | Yes |