validate_tools_single_input#

langchain.agents.utils.validate_tools_single_input(class_name: str, tools: Sequence[BaseTool]) None[source]#

Validate tools for single input.

Parameters:
  • class_name (str) – Name of the class.

  • tools (Sequence[BaseTool]) – List of tools to validate.

Raises:

ValueError – If a multi-input tool is found in tools.

Return type:

None