{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Replace the name and target branch for a deploy hook.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/builds_account_id"},"script_name":{"$ref":"#/definitions/builds_script_name","description":"Human-readable name of the worker."},"deploy_hook_uuid":{"$ref":"#/definitions/builds_deploy_hook_uuid","description":"Deploy hook UUID"}},"required":["account_id","script_name","deploy_hook_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/builds_CreateDeployHookRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"builds_account_id":{"description":"Account identifier.","type":"string","examples":["account-123"]},"builds_script_name":{"description":"Human-readable name of the Worker.","type":"string","examples":["my-worker"]},"builds_deploy_hook_uuid":{"description":"Deploy hook UUID.","type":"string","format":"uuid"},"builds_CreateDeployHookRequest":{"type":"object","properties":{"branch":{"$ref":"#/definitions/builds_branch"},"deploy_hook_name":{"$ref":"#/definitions/builds_deploy_hook_name"}},"required":["deploy_hook_name","branch"]},"builds_branch":{"description":"Git branch name.","type":"string","examples":["main"]},"builds_deploy_hook_name":{"description":"Deploy hook name (1-58 characters).","type":"string","maxLength":58,"minLength":1,"examples":["Production Deploy Hook"]}}},"name":"Update a deploy hook","id":"cloudflare.updatedeployhook","example":{"path":{"account_id":"account-123","script_name":"my-worker","deploy_hook_uuid":"00000000-0000-4000-8000-000000000000"},"body":{"deploy_hook_name":"Production Deploy Hook","branch":"main"}},"maxRequests":1,"summary":false}}