{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update commands, cache settings, or branch and path filters for a trigger.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/builds_account_id"},"trigger_uuid":{"$ref":"#/definitions/builds_trigger_uuid"}},"required":["account_id","trigger_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/builds_UpdateTriggerRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"builds_account_id":{"description":"Account identifier.","type":"string","examples":["account-123"]},"builds_trigger_uuid":{"description":"Trigger UUID.","type":"string","format":"uuid"},"builds_UpdateTriggerRequest":{"type":"object","properties":{"branch_excludes":{"$ref":"#/definitions/builds_branch_excludes"},"branch_includes":{"$ref":"#/definitions/builds_branch_includes"},"build_caching_enabled":{"$ref":"#/definitions/builds_build_caching_enabled"},"build_command":{"$ref":"#/definitions/builds_build_command"},"build_token_uuid":{"$ref":"#/definitions/builds_build_token_uuid"},"deploy_command":{"$ref":"#/definitions/builds_deploy_command"},"path_excludes":{"$ref":"#/definitions/builds_path_excludes"},"path_includes":{"$ref":"#/definitions/builds_path_includes"},"root_directory":{"$ref":"#/definitions/builds_root_directory"},"trigger_name":{"$ref":"#/definitions/builds_trigger_name"}}},"builds_branch_excludes":{"description":"Branch patterns that must not start builds.","type":"array","items":{"type":"string"},"examples":[[]]},"builds_branch_includes":{"description":"Branch patterns that can start builds.","type":"array","items":{"type":"string"},"examples":[["main"]]},"builds_build_caching_enabled":{"description":"Whether builds reuse cached dependencies and build artifacts.","type":"boolean","default":false,"examples":[false]},"builds_build_command":{"description":"Command to build the Worker.","type":"string","examples":["npm run build"]},"builds_build_token_uuid":{"description":"UUID of the build token used when deploying the Worker.","type":"string","format":"uuid"},"builds_deploy_command":{"description":"Command to deploy the Worker.","type":"string","examples":["npx wrangler deploy"]},"builds_path_excludes":{"description":"Path patterns that must not start builds.","type":"array","items":{"type":"string"},"examples":[["*.md"]]},"builds_path_includes":{"description":"Path patterns that can start builds.","type":"array","items":{"type":"string"},"default":["*"],"examples":[["*"]]},"builds_root_directory":{"description":"Repository directory in which build and deploy commands run.","type":"string","examples":["/"]},"builds_trigger_name":{"description":"Human-readable name of the build trigger.","type":"string","examples":["Production Deploy"]}}},"name":"Update a build trigger","id":"cloudflare.updatetrigger","example":{"path":{"account_id":"account-123","trigger_uuid":"00000000-0000-4000-8000-000000000000"},"body":{}},"maxRequests":1,"summary":false}}