(arg: str, other: Annotated[int, "int arg"], nonrequired: int = 5)
| 72 | |
| 73 | def test_func_tool_schema_generation() -> None: |
| 74 | def my_function(arg: str, other: Annotated[int, "int arg"], nonrequired: int = 5) -> MyResult: |
| 75 | return MyResult(result="test") |
| 76 | |
| 77 | tool = FunctionTool(my_function, description="Function tool.") |
| 78 | schema = tool.schema |
nothing calls this directly
no test coverage detected