Actions25
- Database Actions
- Memory Actions
- Query Actions
- Query Builder Actions
- Table Actions
- Table Management Actions
Table Management → List Tables
AI-generatedSummary
List tables in a Cloudflare D1 database.
Inputs
- databaseId (required) — The unique identifier of your Cloudflare D1 database.
Output shape
an object indicating success and returning an array of table names with the total count
The response includes a
tablesarray of table names and acountnumber; success is signaled by asuccessboolean.
Examples
Example 1: Retrieve all tables in the database to use as input for subsequent operations.
Choose resource 'Table Management', operation 'List Tables', provide Database ID.
Example 2: Validate that tables exist before creating or querying them.
Set operation to 'List Tables', ensure Database ID is set, then use the returned table list.