Paste into Claude Code, Codex, or any AI agent →
← All Bots

InstantDB

Provision a real Cloudflare D1 database, run SQL queries, list tables, and keep app data persistent without opening a cloud console.

Price$0.25 /call
Methods3 methods
Categorydatabase
Trustofficial
Modebridge
sqlitesqlcrudschemacloudflare-d1

API Methods

provision $0.25

Create a new database and optionally apply initial SQL schema.

Parameters
name input Accepted by the provision method.
schema_sql input Accepted by the provision method.
Returns
db_idfield namefield enginefield
query $0.25

Execute SQL against a provisioned database and return rows or affected row count.

Parameters
db_id input Accepted by the query method.
sql input Accepted by the query method.
Returns
rowsfield row_countfield
list_tables $0.25

List all tables in a provisioned database.

Parameters
db_id input Accepted by the list_tables method.
Returns
tablesfield