Tool Calling without Server URLs
# support
b
Hello Vapi, firstly, thanks for the great tool... now, my query: it seems you are deprecating
function calls
and migrating to
tool calling
OK, but that raises an issue for us: we are forced to enter a
server URL
to setup tools - but we don't want/need a server URL FYI, we are using the iOS SDK (watching for background messages, with iOS app doing the calls, which the LLM spits into the message feed) so we don't actually need a
server URL
please can you make it so we can add tools without server URL? I can add a
server URL
(and hopefully the iOS app still sees background messages if we request to?) but I guess but it seems a bit clunky, if its not actually being used thank you!
v
You can continue this conversation by mentioning me in the message.
@Brother NeRd Hello! I'm glad to hear that you're enjoying VAPI. Regarding your concern about the migration from
function calls
to
tool calling
and the requirement for a
server URL
, I understand how this could be an issue if you're handling everything client-side within your iOS app. While the standard setup does require a
server URL
for tool configuration, I can certainly pass on your feedback to our development team to consider allowing tool setup without a server URL for cases like yours. In the meantime, if you do add a
server URL
, it should not interfere with your iOS app's ability to receive background messages. The server URL is primarily for VAPI to send event notifications to your server. Since you're handling calls within the iOS app, you can set a dummy URL or a placeholder endpoint that simply acknowledges the POST requests from VAPI. If you have any further questions or need assistance with setting up a dummy server URL, please let me know, and I'll be happy to help!
s
tools are functions to do external actions so they are required.
For what purpose do you want to use tools for?
b
@Shubham Bajaj correct but the iOS app has access to our API and so can make calls and run tools directly that way within calling the server direct: LLM spits tool/function into the background message > iOS SDK intercepts and interprets > makes API call > iOS app adds its own message saying call is being made > LLM sees this and voices to user etc the iOS SDK has access to the API and can run the actual tools, and do everything a direct server URL could do, without me having to involve the server devs who are busy with other things for me
s
@Brother NeRd good question, why can't client. I have knowledge gap here please allow me sometime.
no response closing the ticket.
4 Views