An agent is only as useful as what it is allowed to do. A custom tool is how that gets defined: a named action with a clear input and a clear output, built once and then available to any agent step that needs it.
Why tools are defined, not open-ended
Letting an agent do anything at all is a liability, not a feature. A custom tool narrows that down to one specific, reviewable action, so whoever builds the workflow knows exactly what the agent can touch and what it cannot.
- Inputs are fixed. A tool takes the specific pieces of information it needs, nothing more.
- Outputs are predictable. The agent gets back a result it can use in the next step, in a known shape.
- Permissions travel with the tool, not with a blanket grant to “do anything.”
A simple example
A tool that looks up whether a company already exists before an agent creates a new one is a small, specific action: given a name, it returns a match or nothing. The agent calling it does not need to know how the lookup works, only that it can ask.
How GuardenerAI handles it
- Custom tools are used inside workflows, called by AI agent steps as they run.
- Workflows chain agent steps and action steps, started from a slash command, the AI assistant, or the API.
- The built-in assistant itself works under the permissions of the person asking, and previews bulk changes before applying them.