get_tool_guidelines#

Build typed tools from annotations and docstrings. See the guide.

zett_agent.tools.base.get_tool_guidelines(function)[源代码]#

Extract immutable Guidelines entries from a function docstring.

参数:

function (Callable[[...], Any]) -- Undecorated Python function whose docstring follows the tool documentation format.

返回类型:

tuple[str, ...]