--json for machine-readable output and accept the global --org flag to target a specific organization.
SQL queries
Thetolmo sql command executes a SQL query against your organization’s relational database and prints results as a formatted table by default.
--json to receive raw JSON — useful when piping output to jq or another tool.
Cypher (graph) queries
Thetolmo cypher command executes a Cypher query against the infrastructure graph database. The graph represents your cloud environment as a network of nodes (resources) and edges (relationships between them), giving you a powerful way to understand how infrastructure components connect.
Graph data model
Every resource in the infrastructure graph is stored as aGraphNode, and every relationship between resources is stored as a GRAPH_EDGE.
Both nodes and edges carry temporal tracking fields:
You can use these fields to write time-aware queries:
Output formats
Bothsql and cypher support two output modes: