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, guidelines, and the prose about its result. Search extensions can index this text without knowing how
AgentToolstores or renders those fields.- Parameters:
tool (AgentTool)
- Return type:
str