inspect_schema
Query the local D1 database to list every table and its applied column definitions. Read-only inspection for understanding the current schema structure.
Instructions
Query the local D1 sqlite_master to list every table + the column definitions actually applied. Read-only.
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": "inspect_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | D1 binding name (default: auto-detect) | |
| table | No | Optional table to scope to |