Drizzle schema
schemaLists database tables in a Drizzle project by TypeScript or SQL name, and describes a selected table's columns, defaults, keys, indexes, checks, and relations.
Instructions
Lists the tables in the Drizzle schema with their TypeScript and SQL names, or with table, describes one: columns with types, nullability and defaults, keys, indexes, checks and relations.
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": "schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | A table to describe: its TypeScript export or SQL name. |