| 25 | |
| 26 | @dataclass |
| 27 | class Tool: |
| 28 | name: str |
| 29 | path: str |
| 30 | method: str |
| 31 | arguments: dict[str, str] |
| 32 | examples: list[str] |
| 33 | schema_type: str |
| 34 | prompt: str |
| 35 | return_structure: dict[str, Any] | None = None |
| 36 | handler_class: str | None = None |
| 37 | |
| 38 | def init(): |
| 39 | """Initialize the router module by loading tools.""" |
no outgoing calls
no test coverage detected