db_table_primary_keys
Retrieve primary key information for a database table to support schema analysis and code generation.
Instructions
Get primary key information for a table
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": {
"connection_id": "<connection_id>",
"database": "<database>",
"table": "<table>"
},
"name": "db_table_primary_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Connection identifier from db_connect_test | |
| database | Yes | Database name | |
| table | Yes | Table name |