Describe table
describe_tableDescribe a SQLite table or view by returning its column details: names, declared types, not-null status, default values, and primary key membership. Provide the database file path and table name.
Instructions
Describe the schema of a single table or view: its columns, declared types, a boolean not-null flag (true when the column is NOT NULL), default values and a boolean primary-key flag (true when the column is part of the primary key). path must be an absolute path; table is the table or view name.
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": {
"path": "<path>",
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the SQLite database file. | |
| table | Yes | Name of the table or view to describe. |