> For the complete documentation index, see [llms.txt](https://doc.moost.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.moost.io/platform-manual/rules/rule-language/operations.md).

# Operations

Every operation is of form: `OP argument1` , or `argument1 OP argument2` and returns a value.

In the following list, each operation is listed, including the [data structure](/platform-manual/rules/rule-language/data-structures.md) and [data type](/platform-manual/rules/rule-language/data-types.md) of each argument, and the return value. This is done by using form *`DataStructure<DataType>`*.

## Overview

Following operations are provided:

[Plus](/platform-manual/rules/rule-language/operations/plus.md)

[Minus](/platform-manual/rules/rule-language/operations/minus.md)

[Multiply](/platform-manual/rules/rule-language/operations/multiply.md)

[Divide](/platform-manual/rules/rule-language/operations/divide.md)

[Negate](/platform-manual/rules/rule-language/operations/negate.md)

[Less Than](/platform-manual/rules/rule-language/operations/less-than.md)

[Less or Equal](/platform-manual/rules/rule-language/operations/less-or-equal.md)

[Equal](/platform-manual/rules/rule-language/operations/equal.md)

[Not Equal](/platform-manual/rules/rule-language/operations/not-equal.md)

[Greater or Equal](/platform-manual/rules/rule-language/operations/greater-or-equal.md)

[Greater](/platform-manual/rules/rule-language/operations/greater.md)

[AND](/platform-manual/rules/rule-language/operations/and.md)

[OR](/platform-manual/rules/rule-language/operations/or.md)

[NOT](/platform-manual/rules/rule-language/operations/not.md)

[Format](/platform-manual/rules/rule-language/operations/format.md)

[Attribute Accessor](/platform-manual/rules/rule-language/operations/attribute-accessor.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://doc.moost.io/platform-manual/rules/rule-language/operations.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.
