langchain_core.tools.render_text_description

langchain_core.tools.render_text_description(tools: List[BaseTool]) str[source]

以纯文本形式呈现工具名称和描述。

输出格式如下:

search: This tool is used for search
calculator: This tool is used for math
Parameters

tools (List[BaseTool]) –

Return type

str

Examples using render_text_description