search_hosts_by_os
Find Foreman hosts by operating system name like 'Windows' or 'Oracle Linux'. Specify OS name to get a list of matching hosts, with a default limit of 10 results.
Instructions
Search hosts by operating system (e.g., 'Windows', 'Oracle Linux').
CONTEXT OPTIMIZATION: Returns max 10 results by default. Use specific OS names like 'Windows Server 2022' for targeted results.
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": {
"os_name": "<os_name>"
},
"name": "search_hosts_by_os"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_name | Yes | ||
| per_page | No |