get_tag_values
Retrieve all documented values for any OpenStreetMap tag key with localized display names. Use this tool to discover available options for tags like 'amenity' or 'building' and build accurate selection lists for mapping applications.
Instructions
Retrieve all possible values for a specific OpenStreetMap tag key, with localized human-readable names for both the key and each value. This tool searches through the OSM tagging schema (both predefined field options and preset definitions) to find every documented value that can be used with the specified key. Returns four pieces of information: the normalized key name, localized key display name, a simple array of all values, and a detailed array with localized names for each value. Use this to discover what values are available for a tag (e.g., all amenity types), learn the proper terminology for values, or build UI selection lists. Essential for understanding OSM's controlled vocabularies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagKey | Yes | The OpenStreetMap tag key to retrieve values for (e.g., 'amenity', 'building', 'highway', 'natural', 'shop'). Supports both simple keys and namespaced keys with colons (e.g., 'addr:street', 'name:en'). The tool will search both field definitions and preset tags to find all documented values. Case-sensitive, use lowercase for standard OSM keys. | |
| options | No | Options to control query output: 'limit' restricts the maximum number of values returned (useful for tags with many values like 'name'). |