
    h,                     6    d dl mZ d dlmZ dedee   ddfdZy)    )Sequence)BaseTool
class_nametoolsreturnNc                 d    |D ]+  }|j                   r|  d|j                   d}t        |       y)zValidate tools for single input.

    Args:
        class_name: Name of the class.
        tools: List of tools to validate.

    Raises:
        ValueError: If a multi-input tool is found in tools.
    z# does not support multi-input tool .N)is_single_inputname
ValueError)r   r   toolmsgs       T/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/langchain/agents/utils.pyvalidate_tools_single_inputr      s=      "##L CDII;aPCS/!"    )collections.abcr   langchain_core.toolsr   strr    r   r   <module>r      s*    $ )"C "8J "t "r   