langchain.tools.render.render_text_description_and_args¶

langchain.tools.render.render_text_description_and_args(tools: List[BaseTool]) str[source]¶

Render the tool name, description, and args in plain text.

Output will be in the format of:

search: This tool is used for search, args: {"query": {"type": "string"}}
calculator: This tool is used for math, args: {"expression": {"type": "string"}}
Parameters

tools (List[BaseTool]) –

Return type

str