A class to encapsulate the result of a tool execution.
| 31 | |
| 32 | |
| 33 | class ToolExecResult: |
| 34 | """A class to encapsulate the result of a tool execution.""" |
| 35 | |
| 36 | def __init__(self, output: str | None = None, error: str | None = None, error_code: int = 0): |
| 37 | self.output = output |
| 38 | self.error = error |
| 39 | self.error_code = error_code |
| 40 | |
| 41 | |
| 42 | class ToolParameter: |
no outgoing calls
no test coverage detected