(value: NextStepParamValue)
| 67 | } |
| 68 | |
| 69 | function formatMcpValue(value: NextStepParamValue): string { |
| 70 | if (typeof value === 'string' || (typeof value === 'object' && value !== null)) { |
| 71 | return JSON.stringify(value); |
| 72 | } |
| 73 | return String(value); |
| 74 | } |
| 75 | |
| 76 | function formatNextStepForMcp(step: NextStep): string { |
| 77 | if (!step.tool) { |
no outgoing calls
no test coverage detected