update_collector
Update a collector's configuration by merging specified changes with the current settings. Uses optimistic locking to prevent data loss from concurrent updates.
Instructions
Update a collector's configuration (read-modify-write).
Fetches current config with ETag, merges your changes, and saves with optimistic locking.
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": {
"collector_id": "<collector_id>",
"fields_json": "<fields_json>"
},
"name": "update_collector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields_json | Yes | JSON object of fields to update, e.g. {"name": "New Name", "description": "Updated"} | |
| collector_id | Yes | Collector ID to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |