get_graph
The knowledge graph over a record's documents, assembled for reasoning rather than listed. Scope with entity + entity_id (everything filed on one lead/job/contact) or document_ids. Returns the facts grouped by concept, each with its VERBATIM quote and its source document, plus four things worked out in code rather than guessed: bridges (concepts appearing in more than one document — the connections a person would otherwise have to make by reading both), contradictions (a concept carrying both a statement and its negation), negations, and from_ocr (facts whose quote came out of image recognition, where a number can be misread). Optional: concept (only this one), limit. Read-only. Use analyze_graph instead if you want the reading done server-side.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max facts (default 400). | |
| entity | No | Record type whose documents form the graph (e.g. lead, job, contact); use with entity_id | |
| concept | No | Only facts whose concept contains this text | |
| entity_id | No | ID of the record | |
| document_ids | No | List of IDs (document) | |
| include_facts | No | false = nur Zaehlungen und Auffaelligkeiten, ohne die Faktenliste. |