ambari_services_getservicestate
Retrieve the detailed state of a service in an Apache Ambari cluster, including component and host component statuses.
Instructions
Get detailed state information for a specific service
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>",
"serviceName": "<serviceName>"
},
"name": "ambari_services_getservicestate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clusterName | Yes | The name of the cluster | |
| serviceName | Yes | The name of the service | |
| fields | No | Specific fields to return | ServiceInfo/*,components/ServiceComponentInfo/*,components/host_components/HostRoles/state,components/host_components/HostRoles/stale_configs |