get_database_schema
Retrieve full CREATE DDL statements and schema definitions for all tables, views, and indexes in a SQLite database to inspect structure before running read-only queries.
Instructions
Get the full CREATE DDL statements and schema definitions for all tables, views, and indexes.
Args: db_path: Optional path to SQLite file. If omitted, uses default database path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_database_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||