{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create a new D1 database in your account.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/d1_account-identifier"}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"jurisdiction":{"$ref":"#/definitions/d1_jurisdiction"},"name":{"$ref":"#/definitions/d1_database-name"},"primary_location_hint":{"$ref":"#/definitions/d1_primary-location-hint"},"read_replication":{"$ref":"#/definitions/d1_read-replication-details-for-request"}},"required":["name"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"d1_account-identifier":{"description":"Account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"d1_jurisdiction":{"description":"Specify the location to restrict the D1 database to run and store data. If this option is present, the location hint is ignored.","type":"string","enum":["eu","fedramp","us"],"examples":["eu"]},"d1_database-name":{"description":"D1 database name.","type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]*$","examples":["my-database"]},"d1_primary-location-hint":{"description":"Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.","type":"string","enum":["wnam","enam","weur","eeur","apac","oc"],"examples":["wnam"]},"d1_read-replication-details-for-request":{"description":"Configuration for D1 read replication.","type":"object","properties":{"mode":{"description":"The read replication mode for the database. Use 'auto' to create replicas and allow D1 automatically place them around the world, or 'disabled' to not use any database replicas (it can take a few hours for all replicas to be deleted).","type":"string","enum":["auto","disabled"],"examples":["auto"]}},"required":["mode"]}}},"name":"Create D1 Database","id":"cloudflare.d1-create-database","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"name":"my-database"}},"maxRequests":1,"summary":false}}