update_document
Modify existing SharePoint documents by replacing content with updated text or base64-encoded data, ensuring files remain current in specified folders.
Instructions
Update an existing document in SharePoint with new 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": {
"file_name": "<file_name>",
"content": "<content>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | No | Folder containing the document | |
| file_name | Yes | Name of the file to update | |
| content | Yes | New file content | |
| is_base64 | No | Set to true if content is base64-encoded |