Update a Mudbase document
mudbase_update_documentUpdate specific fields in an existing Mudbase document without altering omitted fields. Provide project, collection, document IDs and the data to change.
Instructions
Partially update an existing document. Only the fields included in 'data' are changed; omitted fields are left as-is.
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": {
"projectId": "<projectId>",
"collectionId": "<collectionId>",
"documentId": "<documentId>",
"data": "<data>"
},
"name": "mudbase_update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The document fields as a plain JSON object. | |
| projectId | Yes | The Mudbase project ID. | |
| documentId | Yes | The document ID within the collection. | |
| collectionId | Yes | The collection ID to operate on. |