count_affected_entities
Count how many AWS resources an event affects without listing them, giving a quick blast radius before querying entity details.
Instructions
Count the resources affected by events, without listing them.
Use this before the entity-listing tools when an event could touch thousands of resources.
Args: event_arns: One or more event ARNs.
Example prompts:
"How many instances does this retirement event affect?"
"What's the blast radius of these events?"
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": {
"event_arns": "<event_arns>"
},
"name": "count_affected_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_arns | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |