For the complete documentation index, see llms.txt. This page is also available as Markdown.

Give an agent tools

Tools let an agent perform actions, such as finding a file or updating a record in another application. Configure the action and its inputs, then tell the agent when to use it.

Describe the task

In the agent’s instructions, describe when it should use a tool and what result it should return.

Agent instructions describing tool use

Add an action

Select Add Tools. Search for the provider you need and choose an action.

Tool library provider and action selection

Open the tool configuration. Select an authorized connection and review the required inputs. If no suitable connection is available, follow the provider’s setup instructions in the Provider Catalog, then return to this tool.

Tool connection and required inputs

Set the inputs

Choose AI auto-fill when the agent should obtain a value from the user’s request, such as search terms. Choose Set manually for values that must stay fixed, such as the destination selected by the builder. Review each required field; adding the tool alone does not supply its inputs.

AI auto-fill and manual input modes

Check the response

Send a request that requires the tool. Compare the agent’s answer with the tool result.

Agent answer and expanded tool result

If the tool finds no matching records, the agent should explain that result. It should not invent a record or link.

Tool response when no matching record is found

Important behavior

The connected account must have permission to perform the action. Resolve missing connections and required inputs in the tool configuration.

An action that changes data can affect the external application when the agent uses it. Choose the operation and inputs accordingly.

Work with uploaded files

An interface attachment needs the correct input mapping and references in the agent’s Prompt. For the file-processing setup, enable File Access and add Terminal from StackAI Computer. The current builder can offer Enable File Access for better file handling after inserting a file reference; check the resulting setting and tool.

Follow Let an agent work with uploaded files to test a real interface upload, a grounded answer, and a generated download. Use Troubleshoot uploaded files and downloads if any part of that path fails.

Continue testing

If the tool does not run or returns an error, use Configure and test an action to check the connection and required inputs. After the tool behaves as expected, use Agent appearance and security to publish the agent for its intended users.

Last updated

Was this helpful?