get_hosts
Search for Datadog hosts by name, alias, or tag to monitor infrastructure, with results from the past 3 hours and 7-day retention.
Instructions
This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included by default. Retention is 7 days. Results are paginated with a max of 1000 results at a time.
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": "get_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||