Change a monitor's content checks
vs_monitors_update_contentChange a monitor's keyword checks (words the page must or must not contain), content checks on parts of the page, and the check that the page was updated recently. Only the fields sent change.
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": {
"id": "<id>"
},
"name": "vs_monitors_update_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Monitor id. | |
| contentConfig | No | Content checks: selectors [{ css, label, type: "include" | "exclude" }], jsRendering, and conditions { matchMode: "all" | "any", rules: [{ type: "text" | "numeric" | "length", op, value }] }. Fields left out keep their saved value. Send null to clear. | |
| keywordConfig | No | Words the page must or must not contain: { enabled, mustContain: [..], mustNotContain: [..], caseSensitive }. Fields left out keep their saved value; enabled false switches the check off and keeps its words. | |
| freshnessConfig | No | Checks that the page was updated recently: { enabled, maxAgeHours, selector, dateFormat }. Send null to clear. |