When viewing or editing a custom tool, navigate to the 'Testing' tab in the tool configuration interface.
The testing interface automatically uses all the configuration settings you've already provided for the tool (URL, method, headers, body, authentication).
To test your tool:
After running a test, results are displayed in a tabbed interface with two main views:
The default view showing information about the API response:
200 OK
, 401 Unauthorized
) with a colored badge indicating success or failure.Click the 'Request' tab to see details about what was sent to the API:
For large responses, you can click the 'Expand' button to view the data in a larger dialog for better readability.
The testing interface will display the outcome of the test run, with clear visual indicators:
401 Unauthorized
for authentication issues, 404 Not Found
if the resource doesn't exist).Examine both the status code and the response body to determine if your tool is working as expected. For successful API calls, verify that the data structure matches what your voice agent will need to process.
If the test fails, examine the results carefully:
The Request view tab is particularly helpful for troubleshooting as it shows exactly what was sent to the API, allowing you to compare it with the API documentation requirements.