# Tag Formulas

- [Global tags](https://docs.portant.co/portant-docs/personalise-documents/tag-formulas/global-tags.md): These are tags that can be used in any document
- [Tag Formulas](https://docs.portant.co/portant-docs/personalise-documents/tag-formulas/tag-formulas.md): Sometimes you might need to calculate values within your document template. Within Portant you can add calculations directly within tags simply by include = at the beginning of the tag.
- [Tag IF Statements](https://docs.portant.co/portant-docs/personalise-documents/tag-formulas/tag-if-statements.md)


---

# Agent Instructions: 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.portant.co/portant-docs/personalise-documents/tag-formulas.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.
