Skip to main content
At the end of this page, your agent calls a toolkit action from a tool gambit, either through an AI Agent gambit or as a flow step.

Before you start

Before you start, sign in to the dashboard and select the organization you want to work in. Actions matter in two places. The toolkit detail page holds the organization-wide switch for each action. The tool gambit editor in the builder decides which actions one gambit offers to an AI Agent gambit, or which single action a flow step runs.

The Subtools panel

Open Tools, then select Configure on a connected toolkit card. The toolkit detail page opens with the connection cards on the left and the Subtools panel on the right. The connection cards are covered in Connect a toolkit. The panel heading shows how many actions are enabled out of the total. Actions start disabled when you connect a toolkit. Expand an action row to read its Description, its Input Properties, and its Output Properties. On this page they are read only. You edit them per gambit in the builder, in the Sub-tools section. If the toolkit has several accounts, the account picker at the top of the page selects which connection you are editing. The Tool Info card on the left labels the selected connection. Select Display Name or Description to edit the value in place, then select Save. The Account picker in the tool gambit editor and the card on the Connected tab both show the display name.

Enable actions for a toolkit

Every switch in the panel is disabled unless the selected connection is active and your role can manage resources. Repair the connection from the Authorization card first.
1

Open Tools and select Configure on the toolkit card

Pick the right account in the account picker if the toolkit has several.
2

Find the action in the Subtools panel

Search the list, or narrow it with the quick filters and the Enabled and Disabled chips.
3

Turn on the action's switch

Use Toggle all to switch the whole filtered set at once.
4

Select Save

Changes apply only after saving. Discard drops unsaved edits.
A Changes saved message confirms, and the enabled count in the heading updates.

Add a tool gambit in the builder

A tool gambit is the flow’s handle on one toolkit connection. There are two ways to add one.
1

Open the Tools tab in the gambit palette

The tab lists Connected tools first, including Knowledge Retrieval and CodeKit. Custom Tools, Featured, and the toolkit categories follow.
2

Drag a toolkit onto the builder

A tool gambit appears with the toolkit’s name and logo. Select it to open its editor.
Or start from the AI Agent gambit that will call the tool:
1

Select the wrench on the left of the AI Agent gambit

Its tooltip reads Add tool. A panel opens with an Add Gambits tab and a Connect tab. It opens on Connect when the flow already holds a tool gambit, and on Add Gambits when it holds none.
2

Pick a tool on the Add Gambits tab

Knowledge Retrieval and third-party toolkits appear under Integrations, and CodeKit toolkits under Custom Tools. The new tool gambit is wired to the agent at once.
3

Or pick an existing tool gambit on the Connect tab

The tab lists tool gambits in agent mode that are already on the flow.
You can also drag from the handle on the right of a tool gambit to the tool handle on the left of the AI Agent gambit. Connected tool gambits appear as badges in the agent’s Tools & Capabilities region. See AI Agent gambit.

The tool gambit editor

Select a tool gambit to open its editor on the right. The header shows the toolkit’s name and logo, and the sections below change with the mode.

Workflow Mode

The Workflow Mode switch sits at the top of the editor. It appears for a third-party toolkit, and for a CodeKit tool gambit once you pick a CodeKit toolkit. For a third-party toolkit, the switch is disabled until you select an account. Turning it on removes the link to the AI Agent gambit. Turning it off clears the success and failure routes.

Tool Selection

The connection buttons are shown only to members who can manage resources. See Change the connected account. If the toolkit has no connection yet, the section shows Not connected and a Connect button that starts authorization in a new browser tab.

Sub-tools

This section appears in agent mode. Its badge counts how many actions this gambit includes. The selection belongs to this gambit alone, so two tool gambits on the same toolkit can offer different actions.
Actions you include here are offered to the AI Agent gambit even if their switch on the toolkit detail page is off.
Until you select an account, the section reads Select an account to load its sub-tools. While the account is not active, every switch is disabled. A tooltip on each switch explains why. Expand an included action row to shape how the agent sees it: Clear descriptions matter. The AI Agent gambit reads the action description and the input descriptions to decide when to call the action and what to send. For a third-party toolkit, the gambit cannot be saved until every included action and every edited input property has a description.

Delivery tracking

The Delivery tracking dropdown appears on each included action in agent mode, and once per gambit in Workflow Mode. It has four options: Delivers a goal (lead, booking…), Notification, Data sync, and Other. Choosing the goal option adds a Goal dropdown that lists your goals. Goals are created under Configure, then Goals. See Track goals.

Response Filtering

The Response Filtering control shows whether filtering is on. With filtering off, the full response is returned. Select Configure to open the Response Filtering dialog.
The Response Filtering dialog with the Select all fields checkbox, a selected count, and a tree of response fields with checkboxes
Check the fields the agent should receive. Checking a field also returns everything nested inside it. Select all fields checks every top-level field. With nothing checked, the full response is returned unfiltered. Select Done to close the dialog. The control then reads Active · of fields, and only those fields reach the agent.

Configure Action

This section appears in Workflow Mode.
The tool gambit editor in Workflow Mode, with the Configure Action section showing the Action dropdown, Input Parameters, and the Response subsection, followed by the Settings and Routing sections
Action opens a searchable list of the toolkit’s actions. Only actions enabled on the toolkit page can be selected. An action that is switched off shows an Enable button that turns it on for the toolkit without leaving the builder. The selected action’s description appears under the dropdown. Members who cannot manage resources see Not enabled in place of the Enable button. A CodeKit action that is not live carries a Not deployed, Deploying, or Deploy failed badge. Its Enable button stays disabled, with the tooltip Deploy this action before enabling it. See Save and deploy. A CodeKit action in Workflow Mode needs the object type for data in its output schema. Without it, a warning under the dropdown links to Configure the action schema.

Input Parameters

The subsection lists the action’s inputs, with required ones marked with an asterisk. Each input shows its name and type, and an info icon with its description. Enter a fixed value, or type @ to insert a flow variable from an earlier step. Number and boolean inputs offer a toggle to switch between a direct value and a variable. Object and array inputs open a JSON editor, and the value must be valid JSON of the input type. A variable inside the JSON is sent as one text value, even when it contains line breaks or quotes. See Variables. When the whole input is one variable, Tars sends the variable value as data. If that variable is empty, the input uses its default value. With no default, Tars leaves the input out. If the input is not valid JSON, or is the wrong type, the step fails with INVALID_WORKFLOW_INPUT before the action runs. The conversation then follows the On Failure route.

Response

The subsection shows the response schema and how later steps read it. The full response is captured under the gambit’s name in the api scope, for example {{api.GambitName.field}}. Four access path cards, raw, status, ok, and error, copy their variable reference when selected.
The Response subsection in Workflow Mode with the Response Filtering card, the four access path cards, the response schema, and the Output Mapping control
Response Filtering works here as in agent mode. See Response Filtering. Output Mapping (optional) stores single response fields under names of your choice. Select Add, enter a Variable name, then pick the response field it Maps from. Objects and arrays let you drill further into the path. The value is stored under that name in the flow scope, so later steps can read it through the @ menu.

Settings

Routing

Shown only in Workflow Mode. On Success and On Failure each open a Jump to… dropdown of gambits. Point On Success at the step that continues with the result. Point On Failure at a recovery step, such as a message that offers a retry or a handoff. The tool gambit shows the two routes as Success and Failure handles.

Verify

Select Test in the toolbar and run the flow into the tool gambit. In agent mode, the AI Agent gambit calls the action when the conversation needs it. In Workflow Mode, the call runs and the conversation follows the On Success route. See Test your agent for the test run.