Skip to content

Tool Configuration

Tools provide agents with specific capabilities. Configure tools using import-based tools, CrewAI tools, or LangChain tools.

ImportToolConfig

Configuration for importing tools from Python modules.

ImportToolConfig (YAML)
1
2
3
4
5
6
7
8
- type: import
  import_path: !!python/name:webbrowser.open ''  # Import path to the tool function.
  name: null  # Optional override for the tool name.
  description: null  # Optional override for the tool description.
  enabled: true  # Whether this tool is initially enabled.
  requires_confirmation: false  # Whether tool execution needs confirmation.
  metadata: {}  # Additional tool metadata.
  hints: null  # Hints for tool execution.

CrewAIToolConfig

Configuration for CrewAI-based tools.

CrewAIToolConfig (YAML)
1
2
3
4
5
6
7
8
9
- type: crewai
  import_path: crewai_tools.BrowserTool  # Import path to CrewAI tool class.
  params: {}  # Tool-specific parameters.
  name: null  # Optional override for the tool name.
  description: null  # Optional override for the tool description.
  enabled: true  # Whether this tool is initially enabled.
  requires_confirmation: false  # Whether tool execution needs confirmation.
  metadata: {}  # Additional tool metadata.
  hints: null  # Hints for tool execution.

LangChainToolConfig

Configuration for LangChain tools.

LangChainToolConfig (YAML)
1
2
3
4
5
6
7
8
9
- type: langchain
  tool_name: wikipedia  # Name of LangChain tool to use.
  params: {}  # Tool-specific parameters.
  name: null  # Optional override for the tool name.
  description: null  # Optional override for the tool description.
  enabled: true  # Whether this tool is initially enabled.
  requires_confirmation: false  # Whether tool execution needs confirmation.
  metadata: {}  # Additional tool metadata.
  hints: null  # Hints for tool execution.