rag_query_data
Query a codebase to retrieve entities, relations, chunks, and metadata for deep code understanding.
Instructions
Return structured LightRAG query data: entities, relations, chunks, and metadata.
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": {
"query": "<query>"
},
"name": "rag_query_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Question to ask LightRAG. | |
| mode | No | hybrid | |
| include_references | No | ||
| top_k | No | ||
| chunk_top_k | No | ||
| include_chunk_content | No |