trace_edge
trace_edgeTrace a handler or edge function to find its route, app-code callers, tables it touches, and related database 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 |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| result | Yes | ||
| toolName | Yes | ||
| _hints | Yes |