{"id":119486,"plugin_id":"plugin_asdk_app_6afb8973a3208191ac2a7ef866edb756","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T18:14:48.806Z","digest":"ad3e8ce2391ae62d451e70e4aef88d2baf0ddd50ae8ca2b401d7490fa5a6ac01","against":null,"payload":{"description":"Record, find, inspect, change, or delete business-travel carbon activities in CO2 Impact, including taxi, rail, flight, hotel stay, car, motorbike, moped, minibus, bus, coach, ferry, and cruise. These tools record activities, not transport bookings.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":424}],"name":"manage-business-taxi","skill_md_contents":"---\nname: manage-business-taxi\ndescription: Record, find, inspect, change, or delete business-travel carbon activities in CO2 Impact, including taxi, rail, flight, hotel stay, car, motorbike, moped, minibus, bus, coach, ferry, and cruise. These tools record activities, not transport bookings.\n---\n\n# Manage business-travel activities\n\nUse the connected account and selected organisation. Keep sign-in codes in the browser and draft tokens in tool calls. The skill name remains unchanged for existing installations.\n\n## Shared tools\n\nUse this workflow when `list_business_travel_subtypes` is available. Otherwise the legacy taxi workflow below remains available; explain that the connection needs a tool-catalog refresh for other types.\n\nFor reads, use `list_business_travel_activities`; omit subtype for all business travel and follow pagination when asked for all records. Use returned sort metadata rather than assuming entry order means journey date. Read an individual record with `get_business_travel_activity` and show historical values unchanged.\n\nFor creates, start with `get_business_travel_form` for the known type. Its `account_context` identifies the organisation and its defaults cover allocation and units. Reuse bundled `options`, matching `dependency_option` to the parent choice; null applies to any parent. Look up missing or truncated choices and organisation entities with `lookup_business_travel_options`, supplying parent values under `context`. Discover subtypes or fetch a separate profile only when their information is needed.\n\n- Flights: search both airports with `resolve_business_travel_airports`; preparation derives distance and travel mode.\n- Rail, ferry, taxi, car, motorbike, moped, minibus, bus and coach: use `resolve_business_travel_journey` for two named endpoints. For an ambiguous ferry origin, ask the user, then search the destination with `context.from_port` or repeat with `selected_from_port`. Reuse known business-site IDs instead of external searches. A partial lookup failure retains the successful side; retry only the failed side through the individual lookup.\n- Car, motorbike, moped and minibus: pass a known registration directly to preparation with `entry_type=vrm` and `vrm`. A separate registration lookup is not a prerequisite. Use `business_vehicle_id` for a known employee vehicle. Preparation loads details; the save path still revalidates them.\n- Hotel: search once for the hotel, then prepare with the selected `place_id`. Preparation resolves details; unchanged hotel details are retained during updates.\n- Cruise: use bundled cruise/cabin choices and dates, nights and passengers, then prepare. No journey searches are needed.\n\nAsk the user to choose between plausible matches. External lookups may cost credits. If the connected catalog lacks a combined tool or bundled options, use individual lookups. Interpret relative dates in the user's timezone and show the resulting date. Return quantity is the total for both legs. Call `prepare_business_travel_activity` once inputs are resolved.\n\nFor changes to a known ID and subtype, call `prepare_business_travel_activity_update` with only the requested changes. It loads the current record and returns before/after values. Fetch a form or lookup only when the new values need resolving, not for an unambiguous reference change. For deletion of a known ID and subtype, call `prepare_business_travel_activity_deletion` directly; it returns the record and cleanup warning. Find the record first if its identity is uncertain.\n\nShow the exact prepared values, selected organisation, changes and warnings. A draft is not saved and has no final emissions. Ask for explicit confirmation, then immediately call the matching create, update or delete tool with the existing `draft_token`, `confirmed: true`, and returned `idempotency_key`. Re-prepare only when inputs change or the draft expires. For an older server with no returned key, generate one once and retain it for retries. Report success only when the tool confirms the saved or deleted activity ID.\n\nRetry an uncertain response with the same token and key. A pending or reconciliation-required result is not success. Stop automatic writes and ask for the activity and credit ledger to be checked. For expired or stale drafts, reload and prepare a new draft for confirmation. Normal updates use the existing backend recalculation, including metadata-only changes.\n\n## Legacy taxi workflow\n\n## Find and inspect\n\n1. Call `get_connected_profile` to identify the account and selected organisation before managing records. Include the organisation in any create, update, or delete confirmation.\n2. Call `list_taxi_activities` with pagination to find records; continue pages when the user asks for all records. Use `search_taxi_employees` to identify an employee before filtering by `business_employee_id`.\n3. Call `get_taxi_activity` for the selected record. Show its ID, journey, date, travelling employee, distance, and stored emissions. If the employee is missing or no longer in the organisation, say so.\n\n## Create\n\n1. Load `get_taxi_activity_form` for the current choices and required fields.\n2. Resolve both named endpoints with `search_taxi_locations`. When several matches are plausible, ask the user which location they meant. Location and route lookups may debit organisation credits.\n3. Find the traveller with `search_taxi_employees`. Ask the user to confirm the exact employee, especially when names overlap. Supply both the returned `business_employee_id` and matching `business_employee_name`; if the person is absent from the selected organisation, stop and ask the user to resolve it there.\n4. Clarify missing dates, journey type, passenger count, cab and fuel choices, and allocation. Call `prepare_taxi_activity` with form-supported values.\n5. Show the draft's journey details, employee, and route without exposing its token. The draft has no calculated emissions result. Ask for explicit permission to save this exact entry.\n6. After confirmation, call `create_taxi_activity` with the draft token, `confirmed: true`, and a unique idempotency key. Report success only when the tool returns a saved activity ID.\n\n## Change\n\n1. Load the exact record with `get_taxi_activity`. Clarify each requested change; resolve new locations and confirm a new employee as above.\n2. Call `prepare_taxi_activity_update` with the activity ID and only the changed fields. Compare its previous record and new draft for the user, including employee, date, route, distance, and allocation.\n3. After explicit confirmation, call `update_taxi_activity` with the signed draft token, `confirmed: true`, and a unique idempotency key. If the record changed meanwhile, reload it and prepare a fresh draft.\n\n## Delete\n\n1. Load the exact record with `get_taxi_activity`, then call `prepare_taxi_activity_deletion`.\n2. Show its ID, journey, date, and travelling employee. Ask for explicit deletion confirmation.\n3. Only then call `delete_taxi_activity` with the signed token, `confirmed: true`, and a unique idempotency key. State that deletion succeeded only when the tool confirms it.\n\nFor an uncertain write response, retry with the same idempotency key; for a changed draft, prepare and confirm a new one. If a tool fails, do not claim a record was saved, changed, or deleted.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}