ansible-ping
Check host connectivity by running Ansible's ad-hoc ping module against specified targets to verify reachability.
Instructions
Ping hosts using the Ansible ad-hoc ping module.
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": {
"host_pattern": "<host_pattern>"
},
"name": "ansible-ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | ||
| host_pattern | Yes | ||
| project_root | No | ||
| inventory_paths | No | ||
| ansible_cfg_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||