Update Alert
update-alertModify an existing GreyNoise alert's query, schedule, recipients, name, or enabled state to keep monitoring rules current.
Instructions
Update an alert's query, schedule, recipients, name, or enabled state.
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": {
"alert_id": "<alert_id>",
"name": "<name>",
"query": "<query>",
"schedule": "<schedule>",
"recipients": "<recipients>"
},
"name": "update-alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Alert name | |
| query | Yes | GNQL query the alert monitors | |
| enabled | No | Whether the alert is active | |
| alert_id | Yes | Alert ID (UUID) | |
| schedule | Yes | When the alert query runs and notifies | |
| recipients | Yes | Where to send alert notifications | |
| workspace_id | No | Workspace ID (UUID). Defaults to the workspace the API key is bound to. | |
| query_workspace_id | No | Workspace to run the query against, if different |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| type | No | ||
| status | No | ||
| enabled | No | ||
| schedule | No | ||
| created_at | No | ||
| gnql_query | No | ||
| parameters | No | ||
| recipients | No | ||
| updated_at | No | ||
| workspace_id | No | ||
| query_workspace_id | No |