Execute the tool with given parameters. Args: params: Validated parameters matching the schema ctx: Execution context Returns: ToolResult with output and metadata
(self, params: Dict[str, Any], ctx: ToolContext)
| 95 | |
| 96 | @abstractmethod |
| 97 | async def execute(self, params: Dict[str, Any], ctx: ToolContext) -> ToolResult: |
| 98 | """ |
| 99 | Execute the tool with given parameters. |
| 100 | |
| 101 | Args: |
| 102 | params: Validated parameters matching the schema |
| 103 | ctx: Execution context |
| 104 | |
| 105 | Returns: |
| 106 | ToolResult with output and metadata |
| 107 | """ |
| 108 | pass |
| 109 | |
| 110 | def to_openrouter_format(self) -> Dict[str, Any]: |
| 111 | """ |
no outgoing calls