# Tools

Source: https://docs.autessa.com/docs/guide/agentic/tools

> Creating and configuring tools — the atomic actions agents can take.

# Tools

A tool is the lowest-level abstraction in Autessa: one specific, executable action — call an API, run a script, query AutessaDB, send an email. Agents accomplish work by choosing and invoking tools, so well-named, well-described tools are the foundation of every workflow you build.

## What it's for

If you think of a workflow as a flow chart, a tool is a single node — the smallest building block of automation. Tools are reusable: the same `GetWeather` tool can serve a chat agent, an [AutessaDB trigger](/docs/guide/autessadb/triggers.md), a [scheduled job](/docs/guide/scheduled-jobs.md), or a direct API call.

## Navigating here

Click **Build** on the rail, then **Tools**. The Tools page shows recent runs and a **New tool** button; **View all tools** opens the full list, and **Start from a template** offers tool templates from the Marketplace. The list has ownership tabs (**Owned By Me / Shared With Me / Company Wide**), search, and type/tag filters.

[View Tools →](https://builder.autessa.com/agentic/tools)

## Key concepts

### Name and description matter

Agents read a tool's name, description, and argument descriptions to decide *when* to call it and *what* to pass. A tool that gets the weather should be named something like `GetWeather` (names allow letters, numbers, and underscores — no spaces), with a description covering what it does and when to use it.

### Tool types

Every tool has a **type** that determines how it executes and what its configuration looks like. The type selector organizes roughly 300 types into categories — Core Tools, AutessaDB, Communication, File Management, Social Media, Search & Utilities, CRM, Accounting & Finance, and more. A few foundational ones:

- **Autessa Script** — a scripting language built on top of JavaScript, for when you need full custom logic. See the [AutessaScript documentation](/docs/autessascript.md).
- **API Call** — make a GET, POST, or PATCH request to any API, whether you host it or someone else does (for example, a weather API).
- **LLM Call** — run a prompt template against an LLM, with dynamic fields filled from arguments; great for summarization or generation steps.
- **Connector-backed types** — Gmail, Google Calendar, QuickBooks, Notion, and many more, each executing against a [connector](/docs/guide/connectors.md) you've linked.

For the full catalog with every configuration field, see the [Tool Types reference](/docs/tools.md).

### Arguments and placeholders

Arguments are the values passed to the tool dynamically at call time. In the collapsible **Arguments** panel on the left of the tool editor, each argument gets a name, a type (String, Number, or Boolean), a description, and a required flag. For a weather tool, you might define `latitude` and `longitude`.

_(interactive UI demo omitted)_

Write a detailed description for every argument — like the tool description, this is what the model reads when deciding what to pass.

Inside the type-specific configuration, reference arguments and [environment variables](/docs/guide/agentic/environment-variables.md) with `@@{variableName}` placeholders. Typing `@@` in any config field opens an autocomplete over your arguments, private arguments, prompt variables, and environment variables; placeholders are substituted at execution time.

### Private arguments

The Arguments panel has a second tab: **Private**. Private arguments come into play when an agent uses the tool and needs a value you don't want an LLM involved in collecting — a credit card number, for example. They're collected directly from the user in-memory and are **never stored in any Autessa history**.

> Private arguments are never stored in any history. When collecting sensitive data from a user, use private arguments.

_(interactive UI demo omitted)_

Because private arguments are collected via a hardcoded question rather than by the model, the **Message to User** is what matters most — make it a clear instruction for what to provide. Each private argument also requires validation: either a **regex pattern** (e.g. `^[A-Za-z0-9-_]+$`) or a comma-separated list of **allowed values**, so you can guarantee the input arrives in the format you expect. Private arguments are always required strings.

To collect a card number, bank account, SSN, or your own account number this way and pass it to an API, give the private argument a **vault field**. The answer is then saved for the conversation only, and the tool receives a handle such as `PM_1` instead of the value. See [Protect Sensitive Data](/docs/guide/agentic/sensitive-data.md#private-arguments-that-save-to-the-vault).

### Sensitive output

Some tools have to give a person a value that shouldn't be kept anywhere, for example a card number fetched from a payment provider's vault using a [secret](/docs/guide/agentic/secrets.md). Turn on **Sensitive output** for the tool, and the result goes back to the person who ran it but is never stored:

- Tool history still records every run (who ran it, when, the inputs, success or failure, and how long it took), but the result is recorded as `[sensitive result not recorded]`. Execution details, logs, and the streamed result show the same marker.
- Only a signed-in person can run it: from the builder, from the CLI, or from an app in the default hosting mode, where the app acts as the teammate using it. Every other caller is refused with `SENSITIVE_TOOL_REQUIRES_USER`: API keys, public app visitors, agents, scheduled jobs, triggers, webhook handlers, pipelines, and other scripts calling it with `tools.invokeById`. That last rule stops a wrapper tool without the setting from copying the value into its own history.
- It can't be given to an agent, so no model ever sees the result. Adding it to an agent, or turning the setting on while an agent uses the tool, fails with `SENSITIVE_TOOL_NOT_AGENT_ATTACHABLE`.
- Only someone with ADMIN on the tool can turn the setting on or off. Turning it off doesn't expose earlier results, because they were never recorded.

### Verify before use and sensitive records

Two tool settings work with the [AI Application Firewall](/docs/guide/agentic/ai-application-firewall.md). **Verify before use** makes the person prove who they are, with the word of the day, a passphrase, an authenticator app, or an approval on their phone, before an agent runs the tool. It's always enforced, whatever the agent's firewall setting. **Sensitive records** marks the tool as returning records that count toward your limits on how many one person can get. See [Verification before a tool runs](/docs/guide/agentic/ai-application-firewall.md#verification-before-a-tool-runs) and [Sensitive-record limits](/docs/guide/agentic/ai-application-firewall.md#sensitive-record-limits).

## How to create a tool

1. On the Tools page, click **Add New Tool → Create New Tool**. (You can also bulk-create tools from a connected [MCP server](/docs/guide/agentic/mcp-servers.md).)

_(interactive UI demo omitted)_

2. Give it a name that's intuitive to what it does and a detailed description of what it does and when to use it, then click **Create Tool** — you land in the tool editor.
3. Pick the **tool type** from the searchable category tree and fill in its configuration (endpoints, scripts, queries, connector selection — whatever the type requires).
4. Define **arguments** for every dynamic input, using `@@{argName}` placeholders in the config where the values should land.
5. **Save**. From the **Manage** menu you can share the tool, clone it, or publish a version (see [Versions](/docs/guide/agentic/versions.md)).

## How to test a tool

1. After saving, click **Execute Tool** in the top right of the editor. A panel opens with one input per argument (private arguments show their Message to User).
2. Run it either way:
   - **Execute Tool** — a plain request/response execution.
   - **Execute with Streaming** — runs over a live connection with a console of timestamped status updates. Streaming is useful for longer-running tools, where you can stream progress updates to the user during execution.
3. Review the result: success/failure badge, elapsed time, the returned data, and — for Autessa Script tools — the execution logs.

## Let the copilot build it

You don't have to configure tools by hand. The **Autobot** button on the Tools page opens the [Agentic Copilot](/docs/guide/autobots/agentic-copilot.md) — describe the tool you want in plain language and it proposes a complete tool definition you review and apply.

## Sharing and access levels

Every tool starts **private** to its owner. Share it with people, teams, company roles, or everyone at your company, each at its own level, from the [Share dialog](/docs/guide/platform/sharing.md). Access adds up, so someone covered by several grants gets the highest one. What each level allows:

| Level | What it lets a teammate do |
| --- | --- |
| READ | View the tool, its versions, and its sharing details, and test-run it |
| WRITE | Edit the draft |
| PUBLISH | Publish and roll back versions |
| ADMIN | Share and delete the tool, and turn [Sensitive output](#sensitive-output) on or off |

The owner always has ADMIN implicitly; transferring ownership is owner-only.

## Who a tool runs as

A tool runs as the person who started it — directly, through an agent, from an app, or from a script — and sees only the tables, rows, and columns that person can. A tool started by an API key or a public app visitor carries the key's or app's limits too. Triggers, scheduled jobs, and webhook handlers run as the person who set them up.

For a simple AutessaDB data tool, the owner can set **Run as** to **Owner** so the tool runs as them instead, limited to the one table it is configured for. Use it when callers should be able to, say, add a request to a table they can't otherwise read. Turn on **Only callable from my other tools** to stop anyone from calling it directly. Only the owner can turn this on, it's available only for data tools whose table and columns are fixed in the tool's settings, and it switches back to running as the caller when someone else edits, publishes, or rolls back the tool, or when it changes owner. See [Run as owner](/docs/autessascript/guides/sharing-permissions.md#run-as-owner).

## Who can see tool history

Each run in a tool's history is visible to the person it ran as, to the tool's Admins, and to company Admins. Other people with access to the tool don't see other people's runs.

## Related

- [Tool Types reference](/docs/tools.md)
- [Agents](/docs/guide/agentic/agents.md)
- [AI Application Firewall](/docs/guide/agentic/ai-application-firewall.md)
- [Environment Variables](/docs/guide/agentic/environment-variables.md)
- [MCP Servers](/docs/guide/agentic/mcp-servers.md)
- [Versions](/docs/guide/agentic/versions.md)
- [AutessaScript](/docs/autessascript.md)
- [Tools Poweruser API](/docs/api/poweruser/tools.md)

