get_legend
Retrieve the legend for an ArcGIS or WMS map source, providing structured entries or an image to interpret map symbols and layers from Spanish geology and cartography.
Instructions
Legend of a source: structured entries (ArcGIS) or an image (WMS).
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": {
"source": "<source>"
},
"name": "get_legend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| layer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||