Create a tool for an agent
Tools
Create a tool for an agent
Adds a new tool to the agent’s toolset.
When type is api_request, the url field is required.
POST
Create a tool for an agent
Authorizations
API key obtained from the OpenMic dashboard.
Path Parameters
The agent UID.
Body
application/json
Available options:
api_request, function, end_call, transfer_call, dtmf, send_sms, send_email, call_booking, check_calendar_availability, check_working_hours Required string length:
1 - 255Required when type is api_request.
Available options:
get, post Response
Tool created.
Available options:
api_request, function, end_call, transfer_call, dtmf, send_sms, send_email, call_booking, check_calendar_availability, check_working_hours Required when type is api_request.
Available options:
get, post JSON Schema object describing the tool parameters.