Tools
What a tool is#
Knowledge is what your agent knows. A tool is something your agent can do.
A tool registers one of your APIs with 7en.ai. While the agent is answering, it can call that API, wait for the response, and use what comes back in its reply — so it can tell a customer the renewal date on policy AX-55821 instead of explaining where to look it up.
Your agents already answer from the knowledge you have given them. Add a tool when the answer lives somewhere only your systems know: an order status, a booking, a balance, a renewal date.
Tools are in beta
Tools is marked Beta in the sidebar while it settles. It is available on selected plans — if your workspace cannot use it yet, the page explains what to do next.
When to use one#
| Use a tool when | Use something else when |
|---|---|
| The answer changes per customer and lives in your system — an order, a policy, an appointment. | The answer is the same for everyone. Add it as a knowledge source instead. |
| You want the agent to look something up mid-conversation and carry on talking. | You want to raise a support ticket. Use a ticketing integration, which is built for it. |
| You want a specific step in a conversation flow to call an API. | You want the agent to hand over to a person. Use escalation. |
What you set up#
The editor walks through a tool in the order the request is made. Each part has one job.
| Part | What it decides | Example |
|---|---|---|
| Agents allowed to call it | Which of your agents may use this tool. Nothing else can reach it. | Policies, Renewals |
| The call | The tool's name, and the description that tells the agent when to reach for it. | Policy renewal date |
| Where it goes | GET or POST, the address, and any headers or body. | GET https://api.example.com/policies/{{input.policy_id}} |
| What the agent fills in | The values the agent must collect from the customer before the call can be made. | policy_id — "the policy number, like AX-55821" |
| Authentication | Which stored credential is attached to the request. | Policy API token |
| What the agent is told | The fields you tick from a real response. Everything else is dropped. | data[0].name |
| If the call fails | What the agent says when the request does not come back. | "Sorry, I couldn't reach the policy system." |
The description is the instruction
The agent chooses a tool by reading its description. "Looks up when a policy is due for renewal, given the policy number" gets used at the right moment; "policy stuff" does not. Write it as an instruction to a new colleague.
Values the agent collects#
Anything the agent has to ask for becomes an input. Each input is described to the agent in plain words, and checked before the request goes out.
Use an input anywhere in the request by writing {{input.name}} — in the address, a header, or the body:
GET https://api.example.com/policies/{{input.policy_id}}/renewalIf the customer has not given a policy number yet, the agent asks for it before calling. That is why the description of each input matters: it is what the agent says when it asks.
What comes back#
An API response is usually far larger than anything the agent needs, so you choose what it gets — by calling the API once and ticking fields from the real answer.
Each one you tick becomes a named value for the agent, alongside the path it came from:
| The agent sees | Taken from |
|---|---|
name | data[0].name |
currency | data[0].currency |
Everything you leave unticked is dropped before it reaches the model. This keeps replies accurate and keeps data you do not need out of the conversation.
Calling it#
Call it makes the real request from our servers and shows you what came back. Where the tool has inputs, Try it with lets you supply a sample value for each first.
This is not only a test. Calling it is how the response fields get listed for you to tick, so it is a normal part of setting a tool up rather than something you do at the end.
Credentials#
Tokens and keys are stored once, under Credentials, and attached to a tool by name. They are stored encrypted and never shown again once saved — the request carries the token, your agents never see it, and neither do you after the day you add it.
Tools in a conversation flow#
By default the agent decides when a tool is useful. Sometimes you want the opposite: a step in a flow that always calls a particular API at exactly that point.
Switch on Use only in Flow and the agent will never reach for it on its own — only a Call a tool step can run it.