query_resources
Query Azure resources using structured filters like resource type, location, tags, and name to retrieve a read-only projection of matching resources. Ideal for compliance checks.
Instructions
Look up resources with structured, read-only filters.
All filters are combined with AND. Returns an ARG-shaped projection.
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": "query_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of rows to return (default 100; must be >= 1). | |
| location | No | Azure region to match exactly, e.g. "eastus". | |
| tag_filters | No | Tags that must all be present with the given values. | |
| name_contains | No | Case-insensitive substring the resource name must contain. | |
| resource_type | No | ARG type to match exactly, e.g. "microsoft.storage/storageaccounts". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |