{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a database branch from the specified project.","properties":{"path":{"type":"object","properties":{"ref":{"minLength":20,"maxLength":20,"pattern":"^[a-z]+$","type":"string","examples":["abcdefghijklmnopqrst"],"description":"Project ref"}},"required":["ref"],"additionalProperties":false},"body":{"$ref":"#/definitions/CreateBranchBody"}},"required":["path","body"],"additionalProperties":false,"definitions":{"CreateBranchBody":{"type":"object","properties":{"branch_name":{"type":"string","minLength":1},"git_branch":{"type":"string"},"is_default":{"type":"boolean"},"persistent":{"type":"boolean"},"region":{"type":"string"},"desired_instance_size":{"type":"string","enum":["pico","nano","micro","small","medium","large","xlarge","2xlarge","4xlarge","8xlarge","12xlarge","16xlarge","24xlarge","24xlarge_optimized_memory","24xlarge_optimized_cpu","24xlarge_high_memory","48xlarge","48xlarge_optimized_memory","48xlarge_optimized_cpu","48xlarge_high_memory"]},"release_channel":{"type":"string","enum":["internal","alpha","beta","ga","withdrawn","preview"],"description":"Release channel. If not provided, GA will be used."},"postgres_engine":{"type":"string","enum":["15","17","17-oriole"],"description":"Postgres engine version. If not provided, the latest version will be used."},"secrets":{"type":"object","additionalProperties":{"type":"string"}},"with_data":{"type":"boolean"},"notify_url":{"type":"string","format":"uri","description":"HTTP endpoint to receive branch status updates."}},"required":["branch_name"],"examples":[{"branch_name":"preview-login-page","git_branch":"feature/login-page","persistent":true,"with_data":false,"notify_url":"https://example.com/webhooks/branches"}]}}},"name":"Create a database branch","id":"supabase.v1-create-a-branch","example":{"path":{"ref":"abcdefghijklmnopqrst"},"body":{"branch_name":"preview-login-page","git_branch":"feature/login-page","persistent":true,"with_data":false,"notify_url":"https://example.com/webhooks/branches"}},"maxRequests":1,"summary":false}}