mcp_edit_document
Replace a document's entire content by providing its ID and the new text. This overwrites the existing body, updating the file in one call.
Instructions
Overwrites or updates a document's total content with new text.
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": {
"doc_id": "<doc_id>",
"content": "<content>"
},
"name": "mcp_edit_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | The ID of the document to edit. | |
| content | Yes | The full, updated content to write into the document. |