stop_service
Stops a specified Ambari cluster service and returns request details for shutdown progress tracking, supporting maintenance and troubleshooting automation.
Instructions
Stops a specific service in the Ambari cluster.
[Tool Role]: Dedicated tool for automated stop of Ambari services, ensuring safe and monitored shutdown.
[Core Functions]:
Stop the specified service and initiate Ambari request
Return request information for progress tracking
Provide clear success or error message for LLM automation
[Required Usage Scenarios]:
When users request to "stop" a service (e.g., "stop HDFS", "stop YARN")
When maintenance or troubleshooting requires a service shutdown
When users mention service stop, shutdown, or automated stop
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": {
"service_name": "<service_name>"
},
"name": "stop_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | Name of the service to stop (e.g., "HDFS", "YARN", "HBASE") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |