Who references this record?
get_referencesFetch both incoming dependents and outgoing references for any record. Use before delete or rename to identify breakage risk and dangling references.
Instructions
Read-only dependency query for a record, both directions: dependents = records that would break if this one were deleted (the same analysis the delete gate runs — pages placing a block, queries reading a datasource, blocks bound to a query, system defaults), and references = records THIS one points at, each flagged exists:false when dangling. Use it before a delete/rename, or to trace where a datasource/query is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id. | |
| resource | Yes | Resource type. Call describe_resource for fields and supported verbs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | Yes | ||
| resource | Yes | ||
| dependents | Yes | ||
| references | Yes |