analyze_graph
Read the graph server-side and return the READING, not the raw material — for a caller that wants an answer rather than 300 facts to page through. Same scope as get_graph (entity + entity_id, or document_ids). Optional: question (a specific one; without it you get a general assessment), focus ('risks' | 'summary' | 'gaps' | 'next_steps'). The contradictions and cross-document links are computed in code and handed to the model as findings, so it interprets them instead of hunting for them; facts from image recognition are marked, so the answer can say when it is standing on one. Costs one model call. Returns the answer plus the counts it was based on, so a thin graph cannot masquerade as a thorough analysis.
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": "analyze_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Angle of the reading: risks, summary, gaps or next_steps | |
| limit | No | Maximum facts to consider, 1-2000 (default 400). | |
| entity | No | Record type whose documents are analysed (e.g. lead, job, contact); use with entity_id | |
| concept | No | Only facts whose concept contains this text. | |
| question | No | Specific question to answer; omitted = general assessment | |
| entity_id | No | ID of the record | |
| document_ids | No | List of IDs (document) | |
| include_facts | No | Return the underlying facts, not just the summary. Default true. |