render_tool_search_text#
Build typed tools from annotations and docstrings. See the guide.
- zett_agent.tools.base.render_tool_search_text(tool)[源代码]#
Return every model-facing text field of one tool for search indexing.
The result includes the normalized tool name, description, parameter descriptions from its JSON Schema, snippet, and guidelines. Search extensions can index this text without knowing how
AgentToolstores or renders those fields.- 参数:
tool (AgentTool)
- 返回类型:
str