cf_d1_schema
Inspect table and view DDL for a D1 database (or a single table) to help agents write valid SQL without a full schema dump.
Instructions
Inspect the table and view DDL of a D1 database (optionally a single table), so an agent can write valid SQL without a full schema dump.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| result | No |