kernel_graph_query
Run a read-only Cypher query on Kernl's graph and return capped rows after validating for writes, unsafe paths, and invalid labels or relationship types.
Instructions
Run one READ-ONLY Cypher query on Kernl's graph and get rows back. It is checked before it runs: no writing, only db.* read procedures, bounded variable-length paths (at most 6 hops), connected patterns, and labels and relationship types that exist (wrong ones come back with suggestions). Rows are capped by limit.
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": {
"cypher": "<cypher>"
},
"name": "kernel_graph_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cypher | Yes | ||
| params | No | Query parameters ($name). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||