query_items
Read and search OpenHAB items using filters, fuzzy text, or batch queries to retrieve item data, states, and metadata from the openHAB REST API.
Instructions
Read item data. action: all (list with optional filters), get (by name), multi (batch by names), search (fuzzy text), master_search (across items+things+rules), room_inventory, semantic_path, neighbors, schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| itemName | No | Used by: get, semantic_path, neighbors | |
| itemNames | No | Used by: multi | |
| query | No | Used by: search, master_search | |
| roomName | No | Used by: room_inventory | |
| tags | No | Comma-separated tag filter (used by: all) | |
| type | No | Item type filter (used by: all) | |
| state | No | State equality filter (used by: all) | |
| includeMetadata | No | Include full metadata in results (used by: all). Default false to reduce token usage. |