Skip to main content

Tools Reference

This section provides reference documentation for Agent Forge's tool system, which allows agents to interact with their environment and perform specialized tasks.

At the core of this system is the abstract Tool class, which you'll extend to create custom tools.

Key concepts and components in this section include:

  • Tool Base Class: Understanding the structure of a tool, its parameters, and how to implement the run method.
  • ToolParameter Interface: Defining the inputs your tool accepts (covered within the Tool page and will be detailed further in the Types reference).
  • ToolRegistry: Managing collections of tools, used internally by AgentForge but can also be used independently.
  • Built-in Tools: Documentation for pre-packaged tools provided by Agent Forge:
  • MCP Tools: Information on how tools provided via the Model Context Protocol are represented (e.g., MCPTool).

Refer to the specific pages for detailed API information on each component.