Get ArcGIS layer metadata
get_layer_metadataFetch metadata for an ArcGIS layer URL to inspect fields, geometry type, extent, name, and description, providing essential context before running queries or analyses.
Instructions
Fetch metadata (fields, geometry type, extent, name, description) for an ArcGIS FeatureServer/MapServer layer URL, such as one returned by list_datasets or get_dataset as 'featureServiceUrl'.
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": {
"layerUrl": "<layerUrl>"
},
"name": "get_layer_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerUrl | Yes | ArcGIS REST layer URL, e.g. https://gis.occ.ok.gov/server/rest/services/Hosted/RBDMS_WELLS/FeatureServer/220 |