List Alert Policies
list_alert_policiesList the alert policies of a project with their rules. Set includeAssignments to also get which environments, specs and monitors each policy is attached to — that is where the assignmentId for unassigning comes from.
Instructions
List the alert policies of a project with their rules. Set includeAssignments to also get which environments, specs and monitors each policy is attached to — that is where the assignmentId for unassigning comes from. Use this to browse policies or find an id; to create or change one use manage_alert_policy. Requires project context.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_alert_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Public ID (GUID) of the project — defaults to the project in the session context | |
| includeAssignments | No | Include the scope assignments of the policies |