trace_table
trace_tableTrace all schema elements, relationships, and code references for any table in your project, including columns, foreign keys, RLS policies, triggers, and application call sites.
Instructions
Trace a table end-to-end: columns, indexes, foreign keys, RLS, triggers (via getSchemaTableSnapshot), schema-scoped RPC → table edges (via listFunctionTableRefs), and app-code .from('$TABLE') call sites (FTS-retrieval + ast-grep proof). Snapshot-strict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| table | Yes | ||
| schema | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| result | Yes | ||
| toolName | Yes | ||
| _hints | Yes |