trace_edge
trace_edgeTrace a handler or edge function to find its route, app-code callers, tables, and RPCs it touches, along with related DB triggers.
Instructions
Trace a handler / edge function: its own route, app-code callers (ast-grep on fetch('/functions/v1/$NAME') and supabase.functions.invoke('$NAME')), tables and RPCs the handler touches, and DB triggers whose body references the name. Snapshot-strict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| projectId | No | ||
| projectRef | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _hints | Yes | ||
| result | Yes | ||
| toolName | Yes | ||
| projectId | Yes |