> For the complete documentation index, see [llms.txt](https://docs.ocutrap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ocutrap.com/getting-started/app/open-closed-button.md).

# Open & Closed Button

​*Make sure you are logged in to your account and on the traps page.*

### Open/ Closed Button

* **Functionality**: Allows controlling the trap's door.
* **Open**: Lifts the door for resetting or letting animals exit.
* **Close**: Shuts and locks the door preventing escape or for safe transportation.
* **Subtext**: Shows the latest reported door state.

> **Releasing a captured animal:** tap **Open**. This releases the door and returns the trap to **Unarmed** in one step. The trap never auto-releases — see [After a Capture](/getting-started/app/after-capture.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ocutrap.com/getting-started/app/open-closed-button.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
