
    @h,                     8    S SK Jr  S SKJr  S\S\\   SS4S jrg)    )Sequence)BaseTool
class_nametoolsreturnNc                 r    U H1  nUR                   (       a  M  U  SUR                   S3n[        U5      e   g)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       N/var/www/html/shao/venv/lib/python3.13/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   