Tools (Function Calling)

New Tool

books_appointment

Books a demo appointment for potential customers interested in Veta AI's phone calling system. This tool should be called ONLY when the customer explicitly agrees to schedule a demo call. Collect all required information (name, phone, email, date, time) naturally during conversation before calling this tool. Use this tool to finalize and confirm the appointment booking after gathering all details from the customer.

Method: POST

URL: https://voice.vetaai.com/api/appointments/veta/create

Edit

appointment

Books a demo appointment for potential customers interested in Veta AI's phone calling system. Timezone: - All dates and times must be resolved using Asia/Karachi timezone (UTC +05:00) This tool must be called ONLY when: - The customer explicitly agrees to schedule a demo - The agent has already collected: - Full name - Phone number - Preferred date - Preferred time Rules: - Date must be in YYYY-MM-DD format - Time must be in HH:MM (24-hour) format - Relative date phrases (e.g. "today", "tomorrow", "next Monday") must be resolved based on Asia/Karachi timezone BEFORE calling this tool - Do NOT guess missing information - Do NOT call this tool until all required fields are confirmed by the customer

Method: POST

URL: https://6944026b7dd335f4c35ef5f9.mockapi.io/api/aidailer

Edit

search_flights

Search available flights between two cities. Ask user for missing details one by one before calling the tool.

Method: GET

URL: https://694a925526e870772065ed88.mockapi.io/api/search_flights

Edit

booking

you can help to book appointment you can asked the appointment details (name, phone_number)

Method: POST

URL: https://694a925526e870772065ed88.mockapi.io/api/search_flights

Edit

book_cal_appointment

Books an appointment on Cal.com. You MUST collect and CONFIRM all required details from the user before calling this tool. Never assume or skip confirmation. Required details (ALL must be collected and confirmed): - Customer's full name (ask and confirm) - Customer's email address (spell it back letter by letter and get explicit confirmation, e.g. 'So that's j-o-h-n at gmail dot com, correct?') - Exact start date and time (convert any natural language like 'tomorrow at 2 PM', 'next Monday morning', 'December 25 at 3 PM' into ISO 8601 UTC format like 2025-12-25T15:00:00Z) Date/time conversion rules (you MUST do this internally - current date is December 24, 2025): - 'today' → 2025-12-24 - 'tomorrow' → 2025-12-25 - 'next Monday' → calculate correct upcoming Monday - Time like '2 PM' → 14:00, '9 AM' → 09:00 - Always convert to UTC Critical rules: - ALWAYS spell back the email and get 'yes' confirmation - NEVER call the tool until ALL details are confirmed - eventTypeId and timeZone are fixed — do NOT ask user for them - After successful booking, tell user: 'Appointment booked successfully in Cal.com! Check your email for confirmation.' - If error, politely say: 'Sorry, couldn't book right now. Please try again.'

Method: POST

URL: https://api.cal.com/v2/bookings

Edit

google_calendar

You MUST use this tool to book the appointment ONLY when you have collected and CONFIRMED all four required details from the customer. Never call this tool with missing, partial, or unconfirmed information. Required details (ALL must be confirmed): - Full name (ask and confirm if needed) - Email address (spell it back letter by letter and get confirmation from user, e.g., 'So that's j-o-h-n at gmail dot com, correct?') - Exact date (convert any natural language like 'tomorrow', 'next Monday', 'this Friday', 'December 25' into correct YYYY-MM-DD format based on current date) - Exact time (convert '2 PM', '3:30 in the afternoon', '9 in the morning' into 24-hour HH:MM format) Date conversion rules (you MUST do this internally): - 'today' → current date in YYYY-MM-DD - 'tomorrow' → tomorrow's date - 'next Monday', 'next Tuesday' etc. → calculate correct upcoming date - 'this weekend' → next Saturday - Month names → correct year assumed (current year if not specified) Time conversion rules: - '2 PM' → 14:00 - '3:30 PM' → 15:30 - '9 AM' → 09:00 - 'midnight' → 00:00 - 'noon' → 12:00 Critical rules: - ALWAYS spell back the email and get explicit confirmation before proceeding. - NEVER assume or guess any detail. - NEVER call the tool until user says 'yes' or confirms all details. - If user gives vague date/time, ask for clarification. - Do not mention tool names or technical terms to the user. After successful booking, inform the user that a calendar invite with Google Meet link has been sent to their email.

Method: POST

URL: internal:google_calendar

Edit