(ctx: ToolHandlerContext, result: OpenSimResult)
| 37 | } |
| 38 | |
| 39 | function setStructuredOutput(ctx: ToolHandlerContext, result: OpenSimResult): void { |
| 40 | ctx.structuredOutput = { |
| 41 | result, |
| 42 | schema: 'xcodebuildmcp.output.simulator-action-result', |
| 43 | schemaVersion: '2', |
| 44 | }; |
| 45 | } |
| 46 | |
| 47 | export function createOpenSimExecutor( |
| 48 | executor: CommandExecutor, |