ambari_alerts_gettargets
Retrieve all alert targets from Ambari. Filter, sort, or paginate results to manage alert notifications.
Instructions
Returns all alert targets
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": "ambari_alerts_gettargets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Filter fields in the response | AlertTarget/* |
| sortBy | No | Sort resources in result by (asc | desc) | |
| page_size | No | The number of resources to be returned for the paged response. |