trace_rpc
trace_rpcTrace an RPC end-to-end, covering its definition, PL/pgSQL bodies, table references, and app-code call sites with snapshot-strict accuracy.
Instructions
Trace an RPC end-to-end: the RPC definition (searchSchemaObjects filtered to rpc), other PL/pgSQL bodies whose body text references it (searchSchemaBodies), overload-aware table refs (listFunctionTableRefs), and app-code .rpc('$FN') call sites (FTS-retrieval + ast-grep proof). Snapshot-strict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| name | Yes | ||
| schema | No | ||
| argTypes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| result | Yes | ||
| toolName | Yes | ||
| _hints | Yes |