(self)
| 76 | |
| 77 | @property |
| 78 | def parameters(self) -> dict[str, Any]: |
| 79 | return { |
| 80 | "type": "object", |
| 81 | "properties": { |
| 82 | "query": { |
| 83 | "type": "string", |
| 84 | "description": "Search query", |
| 85 | }, |
| 86 | "filters": { |
| 87 | "type": "object", |
| 88 | "properties": { |
| 89 | "category": {"type": "string"}, |
| 90 | "min_price": {"type": "number"}, |
| 91 | "max_price": {"type": "number"}, |
| 92 | }, |
| 93 | }, |
| 94 | "limit": { |
| 95 | "type": "integer", |
| 96 | "minimum": 1, |
| 97 | "maximum": 100, |
| 98 | "default": 10, |
| 99 | }, |
| 100 | }, |
| 101 | "required": ["query"], |
| 102 | } |
| 103 | |
| 104 | async def execute(self, **kwargs) -> ToolResult: |
| 105 | return ToolResult(success=True, content="Search results") |
nothing calls this directly
no outgoing calls
no test coverage detected