get-host-tags
Retrieve all tags associated with a host to understand host groupings and filter by tag source.
Instructions
Get all tags associated with hosts. Use for 'what tags are on my hosts', 'which hosts have team:platform tag', or to understand host groupings. Returns a map of tag names to host lists.
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_name": "<host_name>"
},
"name": "get-host-tags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_name | Yes | Host name to get tags for | |
| source | No | Tag source filter (e.g., 'datadog-agent', 'users', 'chef') |