inspect_schema
Inspect a database or ORM schema to understand its structure. Supports SQLite, PostgreSQL, MySQL, Prisma, and Drizzle with local caching.
Instructions
Inspect a database or ORM schema file.
connection examples:
sqlite:///path/to/app.db OR ./app.db
postgresql://user:pw@host/db
mysql://user:pw@host/db
./prisma/schema.prisma
./drizzle/schema.ts
Results are cached locally for 60s unless refresh=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | ||
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||