get_keys
Retrieve primary, foreign, and unique keys across all tables to reveal table relationships for JOIN operations. Use filters and pagination to inspect keys by type and avoid token overflow.
Instructions
Get all keys (primary, foreign, unique) for all tables. This helps understand table relationships for JOIN operations. Returns primary keys, foreign keys, unique keys, and a relationships map showing how tables connect. Paginated to prevent token overflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (1-indexed). Default: 1 | |
| limit | No | Number of keys per page. Default: 50, Max: 200 | |
| keyType | No | Filter by key type: "primary", "foreign", "unique", or "all". Default: all | all |