describe_layer
Get a layer's schema details: field types, coded-value domains, geometry type, and record count. For WMS sources, states that no field schema is published.
Instructions
Describe a layer: fields with their types and coded-value domains, geometry type and record count. WMS sources publish no field schema and say so.
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>",
"layer_id": "<layer_id>"
},
"name": "describe_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||