Create an alert rule for the caller's organization.
alerts.create_ruleCreate an alert rule to monitor geospatial data and trigger notifications based on conditions such as threshold comparisons.
Instructions
Create an alert rule for the caller's organization.
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": {
"name": "<name>",
"expression": "<expression>",
"comparison": "<comparison>",
"threshold": "<threshold>"
},
"name": "alerts.create_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x-api-key | No | ||
| asset_key | No | data | |
| band_mapping | No | ||
| collection_id | No | ||
| comparison | Yes | ||
| cooldown_minutes | No | ||
| description | No | ||
| event_types | No | ||
| expression | Yes | ||
| name | Yes | ||
| notification_channels | No | ||
| threshold | Yes | ||
| threshold_upper | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_rule | Yes |