render_tool_search_text#
Build typed tools from annotations and docstrings. See the guide.
- zett_agent.tools.base.render_tool_search_text(tool)[source]#
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.- Parameters:
tool (AgentTool)
- Return type:
str