(self)
| 34 | |
| 35 | @property |
| 36 | def parameters(self) -> dict[str, Any]: |
| 37 | return { |
| 38 | "type": "object", |
| 39 | "properties": { |
| 40 | "location": { |
| 41 | "type": "string", |
| 42 | "description": "City and state, e.g. 'San Francisco, CA' or 'London, UK'", |
| 43 | }, |
| 44 | "unit": { |
| 45 | "type": "string", |
| 46 | "enum": ["celsius", "fahrenheit"], |
| 47 | "description": "Temperature unit (celsius or fahrenheit)", |
| 48 | }, |
| 49 | }, |
| 50 | "required": ["location"], |
| 51 | } |
| 52 | |
| 53 | async def execute(self, **kwargs) -> ToolResult: |
| 54 | """Mock execute method.""" |
nothing calls this directly
no outgoing calls
no test coverage detected