table_info
Inspect a SQLite table or view to obtain columns, types, constraints, indexes, foreign keys, triggers, DDL, and row count estimates.
Instructions
Get detailed info about a single table or view: columns, types, constraints, indexes, foreign keys, triggers, DDL SQL, and row count estimation.
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": {
"table": "<table>"
},
"name": "table_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Optional path to SQLite database file. Defaults to configured default database. | |
| table | Yes | Exact name of the table or view to inspect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |