{"id":121527,"plugin_id":"plugin_asdk_app_6a8e766af7248191bfcfcbf15f3c78ed","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-28T00:13:40.730Z","digest":"e262ee225bb807e4b72b0fa1312efd5b8ca481f582f98122c8e83214eb511acc","against":null,"payload":{"description":"Book, move or cancel one iBluSend appointment in the chat: a preview first, then the person's yes, then the change. Approved contacts only.","included_files":[],"name":"calendar-booking","skill_md_contents":"---\nname: calendar-booking\ndescription: \"Book, move or cancel one iBluSend appointment in the chat: a preview first, then the person's yes, then the change. Approved contacts only.\"\n---\n\n# Calendar booking\n\nUse this to book, move or cancel an appointment without leaving the chat. Every change takes two\ncalls with the person's yes in between. The change is real: the guest gets the confirmation,\nreminders or notice the workspace's settings say, and Zoom, Google and HighLevel copies follow.\n\n## Access\n\n- These tools work only when the person chose Read and act and ticked Calendar booking on the\n  Connect screen.\n- Every tool here needs `bookings:write`. It comes only with Read and act; a Read only\n  connection never has it.\n- If a tool answers `insufficient_scope`, stop. Ask the person to reconnect, choose Read\n  and act, and tick Calendar booking on the Connect screen.\n  Do not retry, do not look for another tool to get around it, and never ask for a key or\n  password in chat.\n- A connection made earlier keeps exactly what it granted. A new area needs a fresh connection.\n- The connection covers one workspace. Leave `workspace_id` out.\n\n- Finding appointments and open times needs Calendar ticked too (`list_appointments`,\n  `get_appointment`, `get_availability`). Use the `calendar` skill for those.\n\n## Approved contacts\n\n- The person approves contacts for this connection in the app: Developer, then AI Agent API,\n  then Connected AI assistants, then Manage actions on this assistant. An approval lasts up to\n  seven days.\n- An approval is for one contact's phone number. A group is never approved.\n- When a tool says the contact is not approved, nothing happened. Tell the person which contact\n  to approve and where. Do not try another contact, another tool or another number.\n- Never approve a contact yourself, and never ask the person to read you a code from the app.\n\n## Who it reaches\n\n- A booking, move or cancel texts the contact, so it works only with an approved contact.\n  `contact_not_approved_for_booking` means the contact is not approved and nothing changed.\n  Offer `draft_booking` or `draft_appointment_change` instead: a link the person\n  finishes in the app.\n- `appointment_needs_app` means the appointment came from Google or HighLevel, or has no\n  contact. Use `draft_appointment_change` for a link.\n\n## Book\n\n1. Resolve the contact with `list_contacts`. If two contacts could match, ask.\n2. Offer real open times from `get_availability`.\n3. Call `book_appointment` with `contact_id`, `starts_at` (with a time zone)\n   and `duration_minutes` (15, 30, 45, 60, 90 or 120), plus `title`,\n   `appointment_type`, `location` (phone, video, or an address) and\n   `notes` only if the person gave them. Leave `confirm_code` out. This call books\n   nothing.\n4. Show the `preview` and every line of `what_happens`. If `slot_check` says\n   the time is not offered or may clash, say so. Ask for a yes, then stop and wait.\n5. Only after the person says yes, in a later turn, call `book_appointment` again with\n   exactly the same fields plus `confirm_code`.\n6. Report `booked`, the appointment and `next_step` as returned.\n\n## Move or cancel\n\n1. Read it with `get_appointment`. Stop if `can_change` is false.\n2. Call `change_appointment` with `appointment_id` and `action`: move (with\n   `new_starts_at`) or cancel. Leave `confirm_code` out. This call changes nothing.\n   A move keeps the same length.\n3. Show the `preview` and every line of `what_happens`, and wait for a yes.\n4. Only after the yes, in a later turn, call again with the same fields plus `confirm_code`.\n5. Report `changed` and the appointment as returned.\n\n## Stop and cancellation control\n\n- The newest user instruction is authoritative. If, before a write tool starts, the user says\n  stop, cancel, hold, pause, do not send, changes the request, or otherwise withdraws approval,\n  cancel the pending action immediately.\n- Cancellation invalidates every earlier preview and confirmation.\n- Do not call `book_appointment` or `change_appointment` for the cancelled action, even if an earlier message approved it.\n- If the provider or host rejects or closes its confirmation, treat that as cancellation too.\n- Silence, elapsed time, or approval for a different payload never restores authorization.\n- To resume or act on a changed request, rebuild the exact preview from current state and obtain\n  fresh explicit confirmation in a later user turn.\n- After a pre-call cancellation, acknowledge that no write ran and stop this workflow unless the\n  newest instruction explicitly replaces it with read-only work.\n- If a write tool may already have started, do not claim that it was cancelled. Check status or\n  current state, report the facts, and never retry the write automatically.\n\n## Answers\n\n- `confirm_code_mismatch`: the fields are not the ones in the preview. Run the first call\n  again, show the new preview and ask again.\n- `confirm_code_expired`: a code lasts ten minutes. Run the first call again and ask again.\n- `slot_taken`: the time clashes. Offer other open times. Never try to force it.\n- `already_booked: true`: this exact booking was already made. Say so; do not book again.\n- `appointment_changed`: someone changed it since the preview. Read it again and start over.\n- `appointment_recurring`: it repeats. A series is changed in the app; offer the link.\n- `appointment_not_changeable`: it is over, or not scheduled or confirmed.\n- `booking_refused`: the calendar said no. Report the reason as returned.\n- `booking_uncertain`: it may or may not have happened. Check `list_appointments` or\n  `get_appointment` first. Never repeat the call blindly.\n\n## Limits\n\n- Never send `confirm_code` in the same turn as the preview, and never reuse a code for\n  changed fields.\n- A move checks clashes with iBluSend bookings only, not Google or HighLevel\n  busy times. If `slot_check` warns about that, say so.\n- The booking already messages the guest. Do not text them about it too unless the person asks,\n  and then use the safe draft-and-send workflow.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}