[docs]: standardize tool docstrings (#25351)

This commit is contained in:
Isaac Francisco
2024-08-13 16:10:00 -07:00
committed by GitHub
parent d5b548b4ce
commit e0bbb81d04
7 changed files with 196 additions and 12 deletions

View File

@@ -57,12 +57,12 @@ class __ModuleName__Tool(BaseTool):
.. code-block:: python
# TODO: invoke args
tool.invoke({"args": {...}, "id": "1", "name": tool.name, "type": "tool_call})
tool.invoke({"args": {...}, "id": "1", "name": tool.name, "type": "tool_call"})
.. code-block:: python
# TODO: output of invocation
"""
""" # noqa: E501
# TODO: Set tool name and description
name: str = "TODO: Tool name"