grep
Execute a query against an .abhi knowledge graph file, using a saved query ID or ad hoc text, to retrieve matching nodes.
Instructions
Execute a saved or ad hoc query against an .abhi file (waggle grep). Triggers the file's on_query event actions and returns matching nodes.
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": {
"input_path": "<input_path>"
},
"name": "grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | No | Optional saved query id from the file. | |
| input_path | Yes | Path to the .abhi file to query. | |
| query_text | No | Optional ad hoc query text to execute. |