> For the complete documentation index, see [llms.txt](https://docs.rulecube.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rulecube.com/v2.5/language-reference.md).

# Language Reference

To discover all the built-in functions that Rulecube offers, the best way is to click on the ![](/files/A38mSqTGAD1JPrMB1MdV) icon and then on "Documentation" in Rulecube itself. This will open the Rulecube Manual.

There are several different namespaces the Rulecube language domain is divided into:

* [Global](/v2.5/language-reference/global.md): general methods with uppercase names, available without prepending a namespace.&#x20;
* [Array](/v2.5/language-reference/array.md): extension methods to JavaScript's Array object.&#x20;
* [Compression](/v2.5/language-reference/compression.md): a collection of compression functions.
* [Crypto](/v2.5/language-reference/crypto.md): a collection of cryptographic functions.
* [Date](/v2.5/language-reference/date.md): extension methods to JavaScript's Date object.
* [DocAI](/v2.5/language-reference/docai.md): automate document processing and extraction using AI.&#x20;
* [Encryption](/v2.5/language-reference/encryption-deprecated.md): a collection of encryption functions.
* [Finance](/v2.5/language-reference/finance.md): a collection of financial functions.
* [Http](/v2.5/language-reference/http.md): a collection of functions to make calls to APIs and websites.
* [Mail](/v2.5/language-reference/mail.md): a collection of e-mail functions.
* [MongoDB](/v2.5/language-reference/mongodb.md): a collection of MongoDB functions, like "find" and "aggregate".
* [Ockto](/v2.5/language-reference/ockto.md): a collection of Ockto functions, to get personal data from validated external sources.&#x20;
* [PDF](/v2.5/language-reference/pdf.md): a collection of PDF functions, using an external component Html2PDF.
* [SQL](/v2.5/language-reference/sql.md): a collection of SQL functions, like "execute" and "executeStoredProcedure".
* [Statistics](/v2.5/language-reference/statistics.md): a collection of statistical functions, like "mean", "median", and "slope".
* [System](/v2.5/language-reference/system.md): system actions. For advanced users only.
* [UserStore](/v2.5/language-reference/userstore.md): a collection of Rulecube User-related functions.
* [Workflow](/v2.5/language-reference/workflow.md): workflow helper library to support easy workflow definitions.


---

# 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.rulecube.com/v2.5/language-reference.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.
