Virgile
05/20/2025, 12:12 PMserverMessage, but a tool-call, that is being added to the agent, like an API call to my server, that way I can attach the customer phone and the vapi call id in my database ?
I've tried prompting the agent but to no availKings_big💫
05/20/2025, 12:26 PMVirgile
05/20/2025, 12:31 PMVirgile
05/20/2025, 12:31 PMc9586924-c25e-48fa-818a-d20217e4fb47 for example @Kings_big💫Kings_big💫
05/20/2025, 1:23 PMbleeisblee
05/20/2025, 1:55 PMbleeisblee
05/20/2025, 1:55 PMbleeisblee
05/20/2025, 1:55 PMbleeisblee
05/20/2025, 1:56 PMVirgile
05/20/2025, 1:56 PMbleeisblee
05/20/2025, 1:56 PMbleeisblee
05/20/2025, 1:57 PMbleeisblee
05/20/2025, 1:57 PMVirgile
05/20/2025, 1:59 PMbleeisblee
05/20/2025, 4:07 PMbleeisblee
05/20/2025, 4:07 PMVirgile
05/20/2025, 5:27 PMbleeisblee
05/20/2025, 6:34 PMShubham Bajaj
05/21/2025, 1:30 AMfyi
Use the firstMessage functionality with instructions to execute the tool:
- Configure your assistant with a first message that instructs it to execute the tool
- Set firstMessageMode to "assistant-speaks-first-with-model-generated-message"
- Make sure your prompt/system message clearly instructs the assistant to execute the tool at the beginning of every call.
cc: @Kings_big💫Virgile
05/21/2025, 6:58 AMbleeisblee
05/21/2025, 1:35 PMbleeisblee
05/21/2025, 1:41 PMShubham Bajaj
05/21/2025, 6:31 PMShubham Bajaj
05/21/2025, 6:32 PMbleeisblee
05/21/2025, 8:53 PMbleeisblee
05/21/2025, 8:53 PM