search_hosts_by_environment
Search Foreman hosts by environment name like production or development. Returns up to 10 matching hosts.
Instructions
Search hosts by environment (e.g., 'production', 'development').
CONTEXT OPTIMIZATION: Returns max 10 results by default.
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": {
"environment": "<environment>"
},
"name": "search_hosts_by_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_page | No | ||
| environment | Yes |