Tools
Test a tool
https://voxa.abhinavyadav.in/api/v1/tools/testRuns an HTTP tool once with the arguments you give, exactly as an agent would mid-call, and shows what the model would receive.
Authorization
An API key (X-API-Key or Authorization: Bearer), or a signed-in member with the agents.edit permission.
Query parameters
timezonestringdefault: "Asia/Kolkata"IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.
Body application/json
toolobjectrequiredThe tool, as it would appear in an agent's tools.
Show child attributes
namestringrequiredThe function name the model calls: letters, digits and _.
matches ^[a-zA-Z_][a-zA-Z0-9_]{0,63}$
descriptionstringrequiredWhen the model should use the tool.
3 to 1000 characters
parametersobjectJSON Schema of the arguments the model fills in.
methodenum<string>default: "POST"GET sends the arguments as query parameters, POST as a JSON body.
One of:GETPOST
urlstringrequiredWhere the request goes.
headersobjectExtra request headers, such as an authorization header.
pre_call_messagestringSaid while the request runs.
timeout_secondsnumberdefault: 8The request is abandoned after this long.
1 to 30
argsobjectThe arguments the model would pass.
Response
200Success.
See the 200 example next to the code samples.
401No credentials, or they are invalid or revoked.
detailstringWhat went wrong, in plain words.
403Your role (or an API key) lacks the permission.
detailstringWhat went wrong, in plain words.
422Validation Error
detailobject[]Show item attributes
locstring | integer[]msgstringtypestring429Over the per-key rate limit; wait for Retry-After.
detailstringWhat went wrong, in plain words.