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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||