sqlite_schema
Get the CREATE statements for tables in a SQLite database, specifying a table name to view its schema or leave empty to list all tables.
Instructions
Return the CREATE statement(s) for tables in a database.
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": {
"database": "<database>"
},
"name": "sqlite_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Specific table name. Leave empty to show all tables. | |
| database | Yes | Path to the database file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||