-
Notifications
You must be signed in to change notification settings - Fork 0
Home
David-Andrew Samson edited this page Apr 27, 2023
·
9 revisions
Welcome to the archytas wiki!
- ask_user
- datetime
- timestamp
- PythonTool
- fib_n
- example_tool
- calculator
- Jackpot
- ModelSimulation
from archytas.tools import tool
@tool()
def example_tool(arg1:int, arg2:str='', arg3:dict=None) -> int:
"""
Simple 1 sentence description of the tool
More detailed description of the tool. This can be multiple lines.
Explain more what the tool does, and what it is used for.
Args:
arg1 (int): Description of the first argument.
arg2 (str): Description of the second argument. Defaults to ''.
arg3 (dict): Description of the third argument. Defaults to {}.
Returns:
int: Description of the return value
Examples:
>>> example_tool(1, 'hello', {'a': 1, 'b': 2})
3
>>> example_tool(2, 'world', {'a': 1, 'b': 2})
4
"""
return 42
(TODO)