Cloudflare D1 icon

Cloudflare D1

Execute operations against Cloudflare D1 serverless databases. Supports structured operations (Insert, Select, Update, Delete), raw SQL queries, and can be used as a tool by AI Agents.

Database → Get Database Info

AI-generated

Summary

Retrieve metadata for a Cloudflare D1 database

Inputs

  • databaseId (required) — The unique identifier of the Cloudflare D1 database to query

Output shape

a JSON object containing database metadata (e.g., name, createdAt, etc.)

The response may include a success flag and other fields as defined by the Cloudflare D1 API; exact shape depends on API version

Examples

Example 1: Get info for a specific database

Set Database ID to the target database's ID

Example 2: Integrate with upstream node

Pass the database identifier from previous operation as the Database ID input

Discussion