Model tool calls
Nights between two ISO dates.
Capabilities
| Capability | Kind | Signature | Module | Summary |
|---|---|---|---|---|
convert | skill | (amount: float, currency: str) -> dict | examples/python/features/model_tools/agent.py | Convert an amount to AUD with fixture rates. |
nights | skill | (check_in: str, check_out: str) -> dict | examples/python/features/model_tools/agent.py | Nights between two ISO dates. |
plan | traversal | (brief: str) -> TripPlan | examples/python/features/model_tools/agent.py | Turn a free-text brief into a TripPlan, letting the model call ``nights`` and ``convert``. |
Commands
python -m atfgraph.worker --module examples.python.features.model_tools.agent:app
python -m examples.python.features.model_tools.call
Files
examples/python/features/model_tools/__init__.pyexamples/python/features/model_tools/agent.pyexamples/python/features/model_tools/agentnode.yamlexamples/python/features/model_tools/call.py