so you're returning a structure like the below? ``...
# general-english
j
so you're returning a structure like the below?
Copy code
typescript
return NextResponse.json({
  results: [{
    toolCallId,
    result: {
      availableSlots: localSlots,
      timezone: availabilityArgs.timezone
    }
  }]
}, { 
  status: 200,
  headers: { 'Content-Type': 'application/json' }
});
2 Views