table_relationships
Discovers potential foreign keys between tables by matching sampled *_id column values to columns in other tables, revealing how datasets connect.
Instructions
Heuristic foreign-key candidates: *_id columns whose sampled values are contained in a matching column of another table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candidates | Yes | ||
| sample_size | Yes | ||
| min_containment | Yes |