pianorenzo
03/21/2025, 12:41 AMreq.body.message.toolCalls[0].function
This has the correct message:
{
name: 'saveClientMessage',
arguments: { clientMessage: "David, I'll meet you tomorrow at 9." }
}
My question is - is the intended approach for accessing arguments sent in tool functions?
As I mentioned, there is a lot of data in the payload and I couldn't see anywhere in the docs which described the shape of the payload and what is the intended way to access values of properties which come with tool calls.Kyle
03/22/2025, 7:42 AM