Export the PAS graph
export_graphExport a finished competitor_graph or enrich_leads job's graph: json (nodes/edges), graphml (Gephi, yEd), cypher (paste into Neo4j Browser or cypher-shell), mermaid (small graphs). Nodes carry their community (same ids as competitor_graph). focus_place_id exports one place's neighbourhood only, e.g. a mermaid diagram of a shop and its competitors. Free.
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": {
"job_id": "<job_id>",
"format": "<format>"
},
"name": "export_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| job_id | Yes | ||
| focus_hops | No | Neighbourhood size for focus_place_id (default 1) | |
| focus_place_id | No | Only this place and its neighbours | |
| include_off_category | No | Default: the job's setting (false) |