> For the complete documentation index, see [llms.txt](https://documentation.botghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.botghost.com/custom-commands-and-events/actions/custom-variable-actions.md).

# Custom Variable Actions

The command builder offers multiple custom variable actions. They allow you to store and manage already stored information. Below you may find some general information about each block. Click on its name for more information.

<table><thead><tr><th data-type="content-ref">Block</th><th>Information</th></tr></thead><tbody><tr><td><a href="/pages/WfS2s7L9tqmZmgMEaPtP">/pages/WfS2s7L9tqmZmgMEaPtP</a></td><td>The set variable action allows you to set or change the value of a custom variable by using a preset string, variables, or a combination of both.</td></tr><tr><td><a href="/pages/UTV4CC1DS8BEwAz1In3R">/pages/UTV4CC1DS8BEwAz1In3R</a></td><td>The run equation on variable action allows you to modify the value of a custom variable by applying a numerical equation to the current value.</td></tr><tr><td><a href="/pages/Biy0WEQMie7xjWbxba41">/pages/Biy0WEQMie7xjWbxba41</a></td><td>The delete variable action allows you to reset the value of a custom variable back to its default value.</td></tr></tbody></table>


---

# 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, and the optional `goal` query parameter:

```
GET https://documentation.botghost.com/custom-commands-and-events/actions/custom-variable-actions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
