> For the complete documentation index, see [llms.txt](https://docs.workfx.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.workfx.ai/workfx-companion-agent-knowledge/workforce-factory/tools/usage-of-tools.md).

# Usage of Tools

### **Use Tools**

You can use the **tools templates** provided by WorkFX AI, or create and use your own **custom tools**. Additionally, the system includes a set of commonly used **built-in tools** that are readily available for use.

* **Use Tools in AgentFlow**

  <figure><img src="https://4046886348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYf4L4Z4IuV1CQn3whQYb%2Fuploads%2FOZl1bEtFfnAwI9wTQwLv%2Fa78e12cc-2daf-486a-abfd-5196acf8388d.png?alt=media&amp;token=ae3a3fad-66db-405d-afb3-5e58fe272bef" alt=""><figcaption></figcaption></figure>

  * Click the “**Add Node**” button on the AgentFlow canvas.
  * Select **“Tools Node”**.
  * In the configuration panel on the right, choose the tool you want to use.
  * Configure the corresponding parameters and settings for the tool.
  * Save the configuration to complete adding the node.

* **Use Tools in Prompt-Based Agent**

  <figure><img src="https://4046886348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYf4L4Z4IuV1CQn3whQYb%2Fuploads%2FoYsOej4RNhqzrTN7a5nq%2Ff46d9bb3-807a-4e52-a7ab-47f23d6630fd.png?alt=media&amp;token=708407b2-88c3-4880-9061-2476a0fcf08c" alt=""><figcaption></figcaption></figure>

  * Open the configuration panel of the **Prompt-Based Agent**.
  * Locate the **“Tools”** section in the left navigation panel.
  * Click the **“Add”** button to add a new tool.
  * In the pop-up tool selection dialog, choose the desired tool.
  * Return to the Agent configuration panel and toggle the switch next to the newly created tool to enable it.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.workfx.ai/workfx-companion-agent-knowledge/workforce-factory/tools/usage-of-tools.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
