set_endpoint_assertions
Replace an endpoint's body assertions.
Each assertion is {"path": "$.ok", "op": "equals", "value": true}.
Operators: equals, not_equals, exists, not_exists, gt, gte, lt, lte,
contains, not_contains, empty, not_empty. A failing assertion marks the
endpoint DOWN, so it counts against uptime. Pass [] to clear.
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": {
"endpoint_id": "<endpoint_id>",
"assertions": "<assertions>"
},
"name": "set_endpoint_assertions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assertions | Yes | ||
| endpoint_id | Yes |