@Alex911 Hey Alex, for the tool call ID, you are returning the call ID which is unexpected. That's why your tool call responses are not working as you expected. Kindly return the tool call ID instead of call ID.
expected
call_QlKw8RGWKD7bW2Ov7Qrb74q5
actual
c29944ba-938c-4aeb-9ccd-dc3a2b3a24f3
šµ 15:16:19:679 Server Message Requested...(tool-calls ,
https://carbontechnoxxxxxxxxaa1e896f8):
{
"type": "tool-calls",
"toolCalls": [
{
"id": "call_QlKw8RGWKD7bW2Ov7Qrb74q5",
"type": "function",
"function": {
"name": "Employee_Name_retrieval4",
"arguments": {"phone_number": "", "name": ""}
}
}
],
"toolCallList": [
{
"id": "call_QlKw8RGWKD7bW2Ov7Qrb74q5",
"type": "function",
"function": {
"name": "Employee_Name_retrieval4",
"arguments": {"phone_number": "", "name": ""}
}
}
],
"toolWithToolCallList": [
{
"type": "function",
"function": {
"name": "Employee_Name_retrieval4",
"async": true,
"parameters": {
"type": "object",
"required": ["name", "phone_number"],
"properties": {
"name": {
"type": "string",
"description": "This is the name of the employee."
},
"phone_number": {
"type": "string",
"description": "This is the phone number of the employee."
}
}
},
"description": "Check the employee database to retrieve the employee name. Returns the employee first name if found, FALSE if not."
},
"async": true,
"server": {
"url": "https://carbontxxxxxxxxxxxx6-b681-63caa1e896f8",
"timeoutSeconds": 40
},
"messages": [
{
"type": "request-start",
"content": "One second while I send that.",
"contents": [],
"conditions": [],
"blocking": false
},
{
"type": "request-response-delayed",
"content": "hmm, it's taking a second, almost there.",
"conditions": [],
"contents": [],
"timingMilliseconds": 0
}
],
"toolCall": {
"id": "call_QlKw8RGWKD7bW2Ov7Qrb74q5",
"type": "function",
"function": {
"name": "Employee_Name_retrieval4",
"arguments": {"phone_number": "", "name": ""}
}
}
}
]
}