ambari_services_getservices
Get a paginated list of services for a specific Ambari cluster, with options to filter fields and sort results.
Instructions
Get all services for a cluster
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": {
"clusterName": "<clusterName>"
},
"name": "ambari_services_getservices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clusterName | Yes | The name of the cluster | |
| fields | No | Filter fields in the response | ServiceInfo/service_name,ServiceInfo/cluster_name |
| sortBy | No | Sort resources in result by (asc | desc) | ServiceInfo/service_name.asc |
| page_size | No | The number of resources to be returned for the paged response. |