(llmContent: string, returnDisplay: string)
| 117 | |
| 118 | // Helper for consistent error formatting |
| 119 | private errorResult(llmContent: string, returnDisplay: string): ToolResult { |
| 120 | return { |
| 121 | llmContent, |
| 122 | // Keep returnDisplay simpler in core logic |
| 123 | returnDisplay: `Error: ${returnDisplay}`, |
| 124 | }; |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Executes the LS operation with the given parameters |