Skip to content

External API tool

The External API tool lets the agent query (or act on) one of your systems during the conversation: the status of an order, the balance of a contract, opening a ticket.

External API tool form.

FieldWhat to enter
HTTP methodGET, POST, PUT, PATCH or DELETE
URLThe endpoint address. It may contain placeholders
Request timeout30 seconds (recommended), 60 or 120
CredentialA global credential delegated to this solution, or No credential

The credential list only shows the ones delegated to this solution — see Credentials.

+ Add Header adds the headers you need (for example, Content-Type). The Body field builds the request body on methods that accept one.

The URL, the headers and the body all accept placeholders: values the agent fills in from the conversation. That is how the order number the person mentions reaches your endpoint.

FieldWhat it does
Apply long response truncation protectionYes (recommended) trims very large responses before handing them to the model
Truncate responses larger than (characters)The limit applied

Leave the protection on. A huge API response eats the agent’s context, makes the turn expensive and usually makes the answer worse. If useful information is being cut off, the fix is to make the endpoint return less — not to raise the limit indefinitely.

The block at the bottom of the form shows, in one place, what will be saved: method, URL, credential, number of headers and whether there is a body. Check it before saving.

  1. Save the tool and confirm it shows as Enabled in the list.
  2. Open the chat and ask the question that should trigger it.
  3. Expand the Activity block above the answer to see whether the call happened.
SymptomLikely cause
The agent never calls the toolVague description, or the tool is disabled
The call fails with an authorisation errorWrong, expired or undelegated credential
The agent invents a parameter valueNo instruction saying where to take it from; reinforce it in the agent instructions
The response arrives cut offTruncation limit; make the endpoint return less