{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Export the SQL contents of a D1 database and return a URL where they can be downloaded. Note: this process may take\nsome time for larger DBs, during which your D1 will be unavailable to serve queries. To avoid\nblocking your DB unnecessarily, an in-progress export must be continually polled or will automatically cancel.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/d1_account-identifier"},"database_id":{"$ref":"#/definitions/d1_database-identifier"}},"required":["account_id","database_id"],"additionalProperties":false},"body":{"type":"object","properties":{"current_bookmark":{"description":"To poll an in-progress export, provide the current bookmark (returned by your first polling response)","type":"string"},"dump_options":{"type":"object","properties":{"no_data":{"description":"Export only the table definitions, not their contents","type":"boolean"},"no_schema":{"description":"Export only each table's contents, not its definition","type":"boolean"},"tables":{"description":"Filter the export to just one or more tables. Passing an empty array is the same as not passing anything and means: export all tables.","type":"array","items":{"type":"string"}}}},"output_format":{"description":"Specifies that you will poll this endpoint until the export completes","type":"string","enum":["polling"]}},"required":["output_format"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"d1_account-identifier":{"description":"Account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"d1_database-identifier":{"description":"D1 database identifier (UUID).","type":"string","examples":["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}}},"name":"Export D1 Database as SQL","id":"cloudflare.d1-export-database","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","database_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},"body":{"output_format":"polling"}},"maxRequests":1,"summary":false}}