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.
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": {
"connection": "<connection>"
},
"name": "inspect_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | ||
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||