Check a selector
check_selectorParse a directional selector such as '>Z and >Y and |X' and report the exact error and character span if it is wrong. Cheap: it runs the kernel's own parser and touches no geometry.
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": {
"selector": "<selector>"
},
"name": "check_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | `edge` (default) or `vertex`. Vertex selectors accept directional extrema only. | |
| selector | Yes | A selector to check, such as `>Z and >Y and |X`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| span | No | ||
| error | No |