highlight
Highlight features in a GeoJSON layer with a custom color, or clear existing highlights to restore original styles.
Instructions
Highlight one feature or every feature in a GeoJSON layer. Returns { success: boolean, message?: string, error?: string }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "highlight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear existing highlights and restore original styles | |
| color | No | Highlight color (CSS format) | #FFFF00 |
| layerId | No | Layer ID | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) | |
| featureIndex | No | Feature index (highlights all if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| message | No | ||
| success | Yes |