list_keys
Retrieve all keys for a specified table, including primary-key columns, to inspect single or composite key definitions in a data model.
Instructions
List keys of a table. The primary key has primary=true and its columns are included (supports single-column and composite keys).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_id": "<model_id>",
"table_ref": "<table_ref>"
},
"name": "list_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| table_ref | Yes |