ansible-gather-facts
Collect and parse system facts from remote hosts using Ansible's setup module for inventory management and troubleshooting.
Instructions
Gather facts using the setup module and return parsed per-host facts.
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-gather-facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| verbose | No | ||
| host_pattern | Yes | ||
| project_root | No | ||
| gather_subset | No | ||
| inventory_paths | No | ||
| ansible_cfg_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||