Hello team, I have two function with check_availability and Book_appointment.
The agent keep using [1] even though the prompt have explicit instruction to use this number 3903436.
Tool Invocation: check_availability
tool_call_id: tool_call_59df29
{
"startsAt": "2025-11-13T14:43:32-06:00",
"eventTypeIds": [
1
]
}
same with my book appointment function, also it makes up service ID and put in text.
tool_call_id: tool_call_da5028
{
"customerAddress": "123 Main Street, Dallas, Texas, 75201",
"customerPhone": "214-780-6112",
"eventTypeId": 1,
"customerEmail": "",
"startsAt": "2025-11-14T09:00:00-06:00",
"serviceId": "drain_cleaning",
"customerName": "John Smith"
}
Here's an example from manual chat
Tool Invocation: check_availability
tool_call_id: tool_call_7490fd
{
"startsAt": "2025-11-13T15:53:28",
"eventTypeIds": [
3903435,
3903436
]
}
Please help,
Thanks.