sqlite_inspect_database
Inspect SQLite database structure to list all tables, their schemas, and optional row previews for informed querying.
Instructions
检查 SQLite 数据库结构。
返回包含所有表名称、表结构和前几行数据预览的摘要信息。 在决定查询哪个表之前,请先使用此工具。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | Yes | SQLite 数据库文件路径(支持相对路径和绝对路径) | |
| include_preview | No | 是否包含数据预览(默认 False,避免数据量大时性能问题) | |
| preview_rows | No | 如果 include_preview=True,每个表预览的行数(默认 3 行) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||