Describe Table
sqlite_describe_tableDescribe a table or view to retrieve columns, types, primary and foreign keys, indexes, and CREATE SQL. Use before writing queries or inserts to confirm correct schema references.
Instructions
Describe one table or view: columns and types, primary key, foreign keys, indexes, and the CREATE statement.
Use this before writing a query or an insert so column names, types and keys are correct. To find table names, call sqlite_list_tables. Example: {"table": "books"} -> every column of books plus its foreign 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": {
"table": "<table>"
},
"name": "sqlite_describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name, e.g. 'books' | |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |