> For the complete documentation index, see [llms.txt](https://help.tillit.cloud/tillit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tillit.cloud/tillit/tools/ignition-module/scripting-using-the-tillit-module.md).

# Scripting Using the TilliT Module

The TilliT Ignition Module also enables passing information to TilliT via scripts. To see what calls are available in the script write system.tillit. and a variety of methods will appear.

<figure><img src="/files/aUoQiQicoUFz13qc1CU4" alt="" width="342"><figcaption></figcaption></figure>

Often utilised methods are things like getApi() and postApi() which enable us to upsert things like work orders and material definitions to TilliT as well as get that information from TilliT. It is important to note that using the inbuilt system.tillit methods uses the TilliT User that has been previously set up in the configuration for the authentication, this makes calling the TilliT API very simple.

Refer to the [API Documentation](https://help.tillit.cloud/api/api/overview) for calls that can be made as well as how to filter queries and any other API support.


---

# 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://help.tillit.cloud/tillit/tools/ignition-module/scripting-using-the-tillit-module.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.
