Connect to a Cloudflare D1 SQLite database and run parameterized SQL queries through the Cloudflare API. Reads are enabled by default; writes require explicit per-connection approval.
native://cloudflare-d1/query
| Param | Type | Required | Description |
|---|---|---|---|
| sql | string | required | One parameterized SQLite statement. Use ? or ?1, ?2, ... placeholders. |
| params | array | optional | Optional scalar values matching the SQLite placeholders. |
| maxRows | integer | optional | Maximum number of rows to return (1-1000; defaults to 100). |
native://cloudflare-d1/list_tables
native://cloudflare-d1/describe_table
| Param | Type | Required | Description |
|---|---|---|---|
| table | string | required | Table name to describe. |