update_document
Update documents in a MongoDB collection by matching a filter query and applying provided update data.
Instructions
Update matching document.
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": {
"collection_name": "<collection_name>",
"filter_query": "<filter_query>",
"update_data": "<update_data>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| update_data | Yes | ||
| filter_query | Yes | ||
| collection_name | Yes |