langchain_core.tools.render_text_description_and_args¶

langchain_core.tools.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

Examples using render_text_description_and_args¶