Key considerations for agent tools
When building agent tools, keep in mind that they serve two audiences:- AI agents that need clear, unambiguous descriptions to understand when and how to use the tool
- Human users (when the tool is also supported in workflows, and also in the “add tool” interface when configuring an agent) who need intuitive labels and descriptions for manual configuration.
Building tools
To build a tool, check out the Create an agent tool guide along with the reference documentation, which includes information about configuration options, best practices, and request validation.Testing your agent tools
Agent tools should be tested in two phases:- Core logic testing using HubSpot workflows to validate the tool’s functionality with correct and incorrect inputs
- LLM integration testing using the Developer Tool Testing Agent to verify that the agent correctly understands when and how to use your tool