Execute a SELECT against the Engagement Graph
traverse_graph[Read · free] Executes a TS-validated SELECT-only SQL query against the engagement graph and returns rows. Needs the schema and the caller_user_ids / caller_tracked_lp_ids that traverse_graph_help returns (it also has canonical examples). Required: SQL must start with SELECT or WITH, contain no DML/DDL keywords, and reference one of your caller_user_ids or caller_tracked_lp_ids verbatim. Cap: 1000 rows, 5s statement timeout. Pure DB read — 0 credits.
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": {
"sql": "<sql>"
},
"name": "traverse_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SELECT/WITH SQL to execute |