Custom Tools
Test a tool
Changed onExecutes a persisted API call tool with the provided argument values and returns the HTTP response. Requires a USER API key.
post/public/v1/tools/{toolId}/test
Request
- Base URLhttps://prod-api.getfrontline.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
toolIdnumber nullable
Example:123
Request body
Example request
{
"values": {
"contactId": "42"
}
}Response
Tool test result
Example response
{
"status": 200,
"headers": {
"content-type": "application/json"
},
"duration": 245,
"contentLength": 128
}Changes
- warning
added the new
upgrade_requiredenum value to the/response property for the response status - warning
added the new
upgrade_requiredenum value to the/response property for the response status
- warning