query_fact
Query the knowledge graph for verified facts about APIs, functions, classes, and other entities. Filter by entity type and content type to retrieve rules, facts, or procedures.
Instructions
Query the knowledge graph for facts about entities (APIs, functions, classes, etc.)
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": "query_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query (e.g., 'User.findByEmail', 'JWT authentication') | |
| context | No | Additional context for the query | |
| entity_type | No | Optional filter by entity type | |
| content_type | No | Optional filter by content_type. Use 'procedure' to explicitly summon procedures (which are excluded from auto-injection by design). |