Capabilities
Knowledge lets the agent answer. A capability lets it act.
Everything in Knowledge makes the agent better at answering a question. A capability is different in kind: it is something the agent can do — look up a real order, open a form on your page, call your own API. The model decides when to reach for one, from what you wrote about it.
The six kinds
| api_action | Calls an endpoint of yours. The one people build first: real order status, real stock, real account. |
|---|---|
| ui_event | Makes your page do something — redirect, open a modal, fill a form, show a notification. |
| workflow_gate | Marks a point in the conversation: hand to a person, capture a lead, or require approval. Only the handoff gate does something by itself — it starts a real handoff, exactly like the built-in one. |
| mcp_server | Imports the tools an external MCP server advertises. One capability per tool it offers. |
| rag_filter | Not implemented. It was meant to narrow which documents the agent reads; it never did, so the dashboard no longer offers it, and an existing one refuses rather than pretending. |
| custom_script | A snippet you supply. Refused at run time until there is a real sandbox for it. |
WarningTwo of the six do not run today
custom_script and rag_filter can exist on an agent, but calling either one returns a refusal and the agent is told to say it cannot do that right now. If you need a script, build it as an api_action against an endpoint of your own.Creating one in the dashboard
You do not fill in a form field by field. You describe what you want in a sentence, and the builder turns it into a capability you then check.
- 1
Open Capabilities → New Capability
On the agent you want it on.
- 2
Describe it, then Compile with AI
Plain words, the way you would brief a colleague:
Harbor & Pine — the descriptionWhen a customer gives an order number, look it up at https://api.harborandpine.com/orders/{orderId} and tell them the status and the delivery date. - 3
Check what it produced
The name, the description, the generated configuration and whether it asks the visitor first. Read the configuration — it is what will run.
Generated Config{ "endpoint": "https://api.harborandpine.com/orders/{orderId}", "method": "GET", "responseMapping": "Order {order.id} is {order.status}, arriving {order.eta}." } - 4
Review & Deploy
It is saved switched on, together with the two fields the compiler also writes:
usageInstructions(when to use it) and, if it asks the visitor first,confirmationMessage— both explained below. If it is one of the three kinds that reach outside Tigerbase, it also waits for review — next section.
The Test Playground on the same screen is a live chat with the agent, so you can try the capability straight away — once it is cleared.
Three of them are reviewed before they run
Noteapi_action, mcp_server and custom_script start as pending
ui_event, rag_filter and workflow_gate stay inside and are not reviewed.WarningImported MCP tools are the exception to the caption
pending. Imports start as pending too, one per tool, unless an operator did the import.While a capability is pending the model is never told it exists, and the server refuses to run it if asked. Two independent refusals, deliberately — so neither "the model was not told" nor "the server said no" depends on the other still working. You are notified when a review is decided.
NoteReview and your own switch are different things
isEnabled is yours. The review is ours. They are separate so that clearing a capability does not quietly switch on something you had turned off — and so that toggling your own switch cannot re-open a review.Two fields the model reads, for two decisions
| description | WHAT it does. Short — it becomes the function declaration the model is given. |
|---|---|
| usageInstructions | WHEN to use it. The prerequisites, the cases it does not cover, what to ask the visitor for first. As long as it needs to be. |
description
Look up the status and delivery date of one order.
usageInstructions
Use only when the visitor has given an order number. If they have
not, ask for it first — do not guess, and do not try the number
from an earlier conversation. It does not cover refunds or
cancellations; hand those to a person.Cramming both into description is the usual mistake. It makes the declaration long, and the guidance gets lost inside a sentence the model reads as a label.
Asking the visitor first
Set requiresConfirmation (Requires Confirmation in the builder) on anything that changes something. The capability then stops before it runs and the visitor is asked. confirmationMessage is a template rendered against the arguments the model chose, so the question can name the actual thing:
confirmationMessage
Cancel order {orderId}? This cannot be undone.WarningLeave it out and the visitor is shown your description
What happens when they answer
The widget shows the question with Confirm and Cancel. The call the model chose is held on our side, with the arguments it chose, for that visitor only and for ten minutes. Confirm runs exactly that call once — after checking the capability is still switched on, approved and on your plan — and the agent carries on with the result. Cancel runs nothing, and the agent asks what they would like instead. A question nobody answers simply expires.
| On by default | For a new api_action that is not a GET, and for MCP tools. Switch it off in the builder for calls that only read. |
|---|---|
| The SDK | An ask() turn can end in a confirmation event with an id; conversation.confirm(id, true) answers it. See the browser SDK. |
| Your own server | ask() returns confirmation { id, description } instead of running it; tigerbase.confirm(agent, id, true, { conversationId }) answers. See Server → Ask. |
Calling your API
How the endpoint is filled in
Only the parameters you declared are sent, each checked against its declared type; anything else the model adds is dropped. Any {name} (or :name) in the endpoint is replaced by the argument of that name, URL-encoded — and if the result points at a different host than the one you configured, nothing is sent. The rest go in the query string on a GET and in a JSON body otherwise. The call carries an X-Tigerbase-Visitor header, times out after 15 seconds, reads at most 1 MB, does not follow redirects, and is refused if the address resolves to a private or internal network. The details are on Calling your system.
endpoint https://api.harborandpine.com/orders/{orderId}
model { "orderId": "10482" }
called GET https://api.harborandpine.com/orders/10482What the model is told came back
An api_action without responseMapping hands the model your entire response body. Two reasons that matters, neither of them tidiness:
| It is your data | Everything in that body enters the model's context and can be paraphrased to a visitor — including the fields you did not mean to share. |
|---|---|
| You pay for it | In tokens, on every single call. |
{ "order": { "id": "10482", "status": "shipped", "eta": "Thursday",
"customerEmail": "…", "margin": 0.41 } }
responseMapping
Order {order.id} is {order.status}, arriving {order.eta}.
the model is told
Order 10482 is shipped, arriving Thursday.CarefulMap before you go live
customerEmail and margin above go into the conversation, and a visitor who asks the right question can have them read back.A checklist
- 1
Pick the narrowest type that does the job
If your page can do it,
ui_event. If your API can,api_action. - 2
Write description and usageInstructions separately
What it does, then when to use it. They are not the same sentence.
- 3
Map the response
Name the fields the answer needs. The default is to hand over everything.
- 4
Confirm anything that changes something
With a message that names the thing, not the tool.
- 5
Wait for review, if it reaches outside
api_action,mcp_serverandcustom_scriptdo nothing at all until cleared — the agent will not mention them and the server will not run them.
TipTest it by trying to trip it
NoteYour plan caps how many you get
api_action and mcp_server ones, counted across the whole app. See Plans & limits.