list_hosts
Retrieve Datadog hosts with filtering, pagination, and sorting to monitor infrastructure, optionally including host metadata or muted status.
Instructions
Get list of hosts from Datadog
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Search hosts from this UNIX timestamp | |
| count | No | Max number of hosts to return (max: 1000) | |
| start | No | Starting offset for pagination | |
| filter | No | Filter string for search results | |
| sort_dir | No | Sort direction (asc/desc) | |
| sort_field | No | Field to sort hosts by | |
| include_hosts_metadata | No | Include host metadata (version, platform, etc) | |
| include_muted_hosts_data | No | Include muted hosts status and expiry |