Tools Call Not Working
# support
y
Getting this error: [ERROR] tool-calls Server URL Error: Request failed with status code 405
Call ID: 32652bed-3dfd-4b4b-a9b8-91250baa653c
v
@YasH I'm sorry to hear you're experiencing an issue. The error code 405 typically indicates that the method used in the request is not allowed for the resource you're trying to access. This could mean that you're using a GET request when a POST is required, or vice versa. To assist you further, could you please provide more details about the API call you're trying to make? Specifically, I need to know the HTTP method you're using (GET, POST, etc.) and the endpoint you're trying to reach. With that information, I can help you troubleshoot the problem more effectively.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
Got it. Tagging @User for additional help.
s
hey share the retutrn type of your tool call
y
return type contains three string fields - question, questionId, response.
Other tool call also giving similar error which has return type of a single string but in JSON format.
So I think issue is the custom URL I have provided - https://waveform.live/api is actually a dummy url, it does not exist. But I don't want to call my backend either, I just wanted my tool to extract data and give to client sdk.
It was happening earlier, getting this error only from yesterday.
s
Make your tool async and pass the input paramters and it will send the data w/o including tool call in the history.
For tool description: make sure it includes usecase, definition of input parameters.
12 Views