(fn: _CallableT)
| 556 | ) |
| 557 | |
| 558 | def decorator(fn: _CallableT) -> _CallableT: |
| 559 | self.add_tool( |
| 560 | fn, |
| 561 | name=name, |
| 562 | title=title, |
| 563 | description=description, |
| 564 | annotations=annotations, |
| 565 | icons=icons, |
| 566 | meta=meta, |
| 567 | structured_output=structured_output, |
| 568 | ) |
| 569 | return fn |
| 570 | |
| 571 | return decorator |
| 572 |
nothing calls this directly
no test coverage detected