Actions56
- Agent Actions
- Agent Tool Actions
- Call History Actions
- Campaign Actions
- Catalogue Actions
- Catalogue Item Actions
- Contact Actions
- Contact List Actions
- Event Actions
- Order Actions
- Wallet Actions
- Workflow Actions
Agent Tool → Update
AI-generatedOverview
This node updates the configuration of a specific tool available for an AI agent within the Yourang platform. It allows users to modify settings such as enabling or disabling the tool, setting SMS confirmation options, managing reservation parameters, defining operator availability hours, and configuring phone transfer destinations. This is useful for customizing how an agent interacts with various tools like making reservations, transferring calls, or ending calls, ensuring the agent's tools are tailored to specific operational needs.
Use Case Examples
- Updating the 'Make Reservation' tool to enable SMS confirmations and set default reservation duration.
- Configuring the 'Transfer to Operator' tool with specific operator availability hours and enabled departments.
- Setting up phone destinations and transfer messages for the 'Transfer to Phone' tool.
Properties
| Name | Meaning |
|---|---|
| Agent ID | The unique identifier of the agent whose tool configuration is being updated. |
| Tool Name | The specific tool to update for the agent, such as 'Make Reservation', 'Transfer to Operator', 'Transfer to Phone', or 'End the Call'. |
| Is Enabled | Whether the selected tool is enabled for the agent. |
| Send SMS | Whether to send an SMS confirmation when a reservation is made (applicable to 'Make Reservation' tool). |
| Allow Overlapping Reservations | Whether overlapping reservations are allowed (applicable to 'Make Reservation' tool). |
| Include Guests | Whether to request the number of guests in the reservation (applicable to 'Make Reservation' tool). |
| SMS Text | Template for the SMS confirmation message with placeholders for customer name, start date, end date, and booking link (applicable to 'Make Reservation' tool). |
| Reservation Duration (Minutes) | Default duration for reservations in minutes, ranging from 15 to 480 (applicable to 'Make Reservation' tool). |
| Reservation Hours | Working hours schedule for accepting reservations, including day, mode (specific hours, open all day, closed all day), and time ranges (applicable to 'Make Reservation' tool). |
| Default Check-In Time | Default check-in time in HH:MM format, relevant for hotel reservations (applicable to 'Make Reservation' tool). |
| Default Check-Out Time | Default check-out time in HH:MM format, relevant for hotel reservations (applicable to 'Make Reservation' tool). |
| Available Hours | Operator availability hours schedule, including day, mode, and time ranges (applicable to 'Transfer to Operator' tool). |
| Enabled Departments | List of enabled department UUIDs for the operator transfer tool; an empty list means all departments are available (applicable to 'Transfer to Operator' tool). |
| Phone Destinations | List of phone destinations with name, phone number, description, and availability hours (applicable to 'Transfer to Phone' tool). |
| Transfer Message | Message played before transferring the call (applicable to 'Transfer to Phone' tool). |
Output
JSON
agentToolUpdateResponse- The response object returned after updating the agent tool configuration, containing details of the updated settings.
Dependencies
- Yourang API with appropriate credentials
Troubleshooting
- Common issues include invalid or missing Agent ID, unsupported tool names, or incorrect formatting of schedule and phone destination inputs.
- Errors may occur if required fields for specific tools are not provided or if the API credentials are invalid or expired.
- To resolve errors, verify that all required parameters are correctly set, ensure the API credentials are valid, and check the formatting of complex inputs like schedules and JSON lists.