table_info
Retrieve comprehensive table metadata including column definitions, data types, constraints, and total row count from SQLite databases.
Instructions
Get detailed info about a single table: columns, types, constraints, and row count.
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": {
"db": "<db>",
"table": "<table>"
},
"name": "table_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | Path to the .db or .sqlite file | |
| table | Yes | Table name |