Properties
| Name | Type | Description |
|---|---|---|
| message | object | |
| configuration | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/vedarai-ru/json-schema/vedarai-ru-a2-asend-message-request-schema.json",
"title": "A2ASendMessageRequest",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/vedarai-ru-openapi.yml#/components/schemas/A2ASendMessageRequest",
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "object",
"required": [
"parts"
],
"properties": {
"messageId": {
"type": "string",
"maxLength": 128
},
"contextId": {
"type": "string",
"maxLength": 128,
"description": "Контекст разговора: последние 10 реплик держатся час в памяти процесса"
},
"taskId": {
"type": "string",
"maxLength": 128,
"description": "Только незавершённая задача; все задачи здесь завершаются в ответе, так что поле практически не нужно"
},
"role": {
"type": "string",
"description": "Не читается"
},
"parts": {
"type": "array",
"minItems": 1,
"maxItems": 16,
"items": {
"oneOf": [
{
"$ref": "#/$defs/A2ATextPart"
},
{
"$ref": "#/$defs/A2AToolCallPart"
}
]
}
}
}
},
"configuration": {
"type": "object",
"properties": {
"historyLength": {
"type": "integer"
}
}
}
},
"$defs": {
"A2ATextPart": {
"type": "object",
"required": [
"text"
],
"properties": {
"kind": {
"const": "text"
},
"text": {
"type": "string",
"maxLength": 8000
}
}
},
"A2AToolCallPart": {
"type": "object",
"description": "Точный вызов инструмента: data.tool и data.arguments по схеме инструмента (те же схемы, что tools/list у MCP). Если такая часть есть, текстовые части не читаются.",
"required": [
"data"
],
"properties": {
"kind": {
"const": "data"
},
"data": {
"$ref": "#/$defs/ToolCallData"
}
}
},
"ToolCallData": {
"description": "Один из публичных инструментов с его аргументами. Записывающие (create_lead, create_booking_request, create_stay_request, request_charter, create_car_rental_request) — заявки, которые подтверждает человек; вызов даёт черновик и ссылку, отправляет человек на странице Ведара.",
"oneOf": [
{
"$ref": "#/$defs/ToolCall_get_tours"
},
{
"$ref": "#/$defs/ToolCall_get_tour_details"
},
{
"$ref": "#/$defs/ToolCall_get_guardian_context"
},
{
"$ref": "#/$defs/ToolCall_get_place_info"
},
{
"$ref": "#/$defs/ToolCall_get_weather"
},
{
"$ref": "#/$defs/ToolCall_get_volcano_status"
},
{
"$ref": "#/$defs/ToolCall_search_accommodations"
},
{
"$ref": "#/$defs/ToolCall_search_transfers"
},
{
"$ref": "#/$defs/ToolCall_search_car_rental"
},
{
"$ref": "#/$defs/ToolCall_search_gear"
},
{
"$ref": "#/$defs/ToolCall_safety_status"
},
{
"$ref": "#/$defs/ToolCall_make_trip_plan"
},
{
"$ref": "#/$defs/ToolCall_edit_trip_plan"
},
{
"$ref": "#/$defs/ToolCall_get_tour_availability"
},
{
"$ref": "#/$defs/ToolCall_compare_tours"
},
{
"$ref": "#/$defs/ToolCall_search"
},
{
"$ref": "#/$defs/ToolCall_fetch"
},
{
"$ref": "#/$defs/ToolCall_get_request_status"
},
{
"$ref": "#/$defs/ToolCall_change_request"
},
{
"$ref": "#/$defs/ToolCall_create_lead"
},
{
"$ref": "#/$defs/ToolCall_create_booking_request"
},
{
"$ref": "#/$defs/ToolCall_create_stay_request"
},
{
"$ref": "#/$defs/ToolCall_request_charter"
},
{
"$ref": "#/$defs/ToolCall_create_car_rental_request"
},
{
"$ref": "#/$defs/ToolCall_create_trip_request"
}
]
},
"ToolCall_change_request": {
"type": "object",
"description": "Cancel or move a Kamchatka tour request by its status key when the person asks; the call returns a Vedar link, the person confirms there. Key from create_booking_request; call only when the person asked. The call changes nothing: give the person confirm_url; only their click on the Vedar page changes the request. Then: operator has not answered yet — cancelled or moved at once; already answered, booked or agreed — a request goes to the operator, who decides. A request is not a booking. A cancelled request cannot be restored. Moves only to a date with seats for everyone (get_tour_availability), at most three a day. A repeat-call key or another request's key cannot change it. Pass outcome, changed and told to the person as is.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "change_request"
},
"arguments": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Status key from the create_booking_request reply that created the request, as is (20–120 characters)."
},
"action": {
"type": "string",
"enum": [
"cancel",
"change_date"
],
"description": "cancel to cancel the request; change_date to move it to the date in the date field."
},
"date": {
"type": "string",
"description": "New tour date, YYYY-MM-DD; required for change_date."
},
"test": {
"type": "boolean",
"description": "true for a dry run: the reply says what would happen; nothing is changed or sent."
}
},
"required": [
"key",
"action"
]
}
}
},
"ToolCall_compare_tours": {
"type": "object",
"description": "Side-by-side facts for 2-4 Kamchatka tours on what the user cares about: price or group total, duration, dates, inclusions, cancellation, pickup, operator. No ranking; one tour: get_tour_details. One row per criterion, from the database; tours in the order the person named them. Rows say only same, differs or not comparable (not recorded): never name the best tour, the person chooses. A title shared by several companies, or a seller's name, returns IDs instead of a comparison: ask the person. Tours not on the showcase are not compared.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "compare_tours"
},
"arguments": {
"type": "object",
"properties": {
"tours": {
"type": "string",
"description": "Two to four tours in the order the user named them: numeric IDs separated by commas (most reliable; from get_tours, get_place_info, get_tour_details) or titles separated by semicolons."
},
"criteria": {
"type": "string",
"description": "What matters to the user, comma-separated, Russian or English: price, duration, group, difficulty, season, program, included, not included, cancellation, pickup, operator, nearest date; empty — price, duration, nearest date, difficulty, pickup, cancellation, operator."
},
"people": {
"type": "string",
"description": "Number of travellers, 1-30: the price row then shows the full total for all of them, the same calculation as get_tour_availability, and the nearest-date row the first date with seats for all of them. The tool picks the date of the total and names it per tour: the first date with seats for all of them, or the first date open for a request (tours without a schedule); a total on a date the user named comes from get_tour_availability with date_from and people."
}
},
"required": [
"tours"
]
}
}
},
"ToolCall_create_booking_request": {
"type": "object",
"description": "Use when the user wants to book a Kamchatka tour on a date: live availability checked first, human-confirmed, no payment. Sent by the person from a Vedar link. No tour yet — use create_lead. Check dates with get_tour_availability first; the operator confirms by phone, no instant booking. An ambiguous tour (several companies, a company or guide name, a partial match) creates nothing: the reply lists tour IDs, ask the person and retry with the ID. No seats: no request, the reply gives the nearest free dates. Sent to the operator as a query, seats not held: no schedule (pass the status link to the person), a group over the tour limit or an unlimited tour (one query for the whole group), a date closed by Vedar, not the operator (asks if they run that day). Name, phone and consent come only from the person; never invent them. The call makes a draft: give the person the link from the reply, and they press Send on the Vedar page themselves.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "create_booking_request"
},
"arguments": {
"type": "object",
"properties": {
"tour": {
"type": "string",
"description": "Numeric tour ID or tour title from get_tours / get_tour_availability. A company or guide name, or a partial word match, creates no request: the reply lists tours by ID."
},
"date": {
"type": "string",
"description": "Tour date, YYYY-MM-DD."
},
"participants": {
"type": "string",
"description": "Number of people, 1–30; default 1."
},
"name": {
"type": "string",
"description": "Traveller's name, required; ask the person."
},
"phone": {
"type": "string",
"description": "Phone for confirmation, required; ask the person for their own number in international format (country code first, +7 for Russia, 10–15 digits) and never invent one."
},
"comment": {
"type": "string",
"description": "Wishes, questions, group composition."
},
"plan_id": {
"type": "string",
"description": "Plan ID from make_trip_plan when this tour is part of that plan: the operator sees the whole trip."
},
"notify_url": {
"type": "string",
"description": "Optional HTTPS URL of your receiver (host name, port 443): a signed Standard Webhooks POST on changes of state, date, offered date, tour or group size; the signing key is shown once in the reply. Not for stays. No receiver — omit, never invent one."
},
"test": {
"type": "boolean",
"description": "true for a dry run: the same checks as a real request, nothing stored or sent; the reply has a test_ key, and get_request_status answers state test."
},
"consent": {
"type": "boolean",
"description": "Explicit consent to process name and phone for this request; ask the person and pass true, otherwise the request is not created."
}
},
"required": [
"tour",
"date",
"name",
"phone",
"consent"
]
}
}
},
"ToolCall_create_car_rental_request": {
"type": "object",
"description": "Kamchatka self-drive car rental request: car from the price list, dates, pickup; human-confirmed, no payment. Sent by the person from a Vedar link. Cars and companies come from search_car_rental; name the car as in the price list. Vedar does not track car availability: a Vedar manager confirms with the rental company, payment goes to it directly. Name and phone go to the rental company. Name, phone and consent come only from the person; never invent them. The call makes a draft: give the person the link from the reply, and they press Send on the Vedar page themselves.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "create_car_rental_request"
},
"arguments": {
"type": "object",
"properties": {
"company": {
"type": "string",
"description": "Rental company name or slug from search_car_rental; may be omitted when there is only one."
},
"car": {
"type": "string",
"description": "Car exactly as in the search_car_rental price list."
},
"date_from": {
"type": "string",
"description": "Rental start, YYYY-MM-DD; with plan_id, omitted means the first day of the plan."
},
"date_to": {
"type": "string",
"description": "Rental end, inclusive, YYYY-MM-DD; with plan_id, omitted means the last day of the plan."
},
"pickup": {
"type": "string",
"description": "Pickup place if the person named one: airport, town, address."
},
"name": {
"type": "string",
"description": "Renter's name, required; ask the person."
},
"phone": {
"type": "string",
"description": "Contact phone, required; ask the person for their own number in international format (country code first, +7 for Russia, 10–15 digits) and never invent one."
},
"comment": {
"type": "string",
"description": "Wishes: child seat, drop-off elsewhere, etc."
},
"plan_id": {
"type": "string",
"description": "Plan ID from make_trip_plan when the request belongs to that plan: the manager and the rental company see the whole trip; omitted dates are taken from the plan, and a mismatch with the plan is named in the reply."
},
"notify_url": {
"type": "string",
"description": "Optional HTTPS URL of your receiver (host name, port 443): a signed Standard Webhooks POST on changes of state, date, offered date, tour or group size; the signing key is shown once in the reply. Not for stays. No receiver — omit, never invent one."
},
"test": {
"type": "boolean",
"description": "true for a dry run: the same checks as a real request, nothing stored or sent; the reply has a test_ key, and get_request_status answers state test."
},
"consent": {
"type": "boolean",
"description": "Explicit consent to process name and phone and pass them to the rental company; ask the person and pass true, otherwise the request is not created."
}
},
"required": [
"car",
"name",
"phone",
"consent"
]
}
}
},
"ToolCall_create_lead": {
"type": "object",
"description": "Tour-selection request for Kamchatka when no tour or date is chosen yet; human-confirmed, no payment. Sent by the person from a Vedar link. Whole-vehicle charter: request_charter. A Vedar manager calls back. Partner tour operators see the request, and it may reach several. Name, phone and consent come only from the person; never invent them. The call makes a draft: give the person the link from the reply, and they press Send on the Vedar page themselves.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "create_lead"
},
"arguments": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Traveller's name, required; ask the person."
},
"phone": {
"type": "string",
"description": "Contact phone, required; ask the person for their own number in international format (country code first, +7 for Russia, 10–15 digits) and never invent one."
},
"comment": {
"type": "string",
"description": "The request: dates, group size, interests."
},
"interest": {
"type": "string",
"description": "Tour or route name, if already chosen."
},
"plan_id": {
"type": "string",
"description": "Plan ID from make_trip_plan when the request is for that plan: the manager gets the whole plan (group, tours by day, estimate)."
},
"notify_url": {
"type": "string",
"description": "Optional HTTPS URL of your receiver (host name, port 443): a signed Standard Webhooks POST on changes of state, date, offered date, tour or group size; the signing key is shown once in the reply. Not for stays. No receiver — omit, never invent one."
},
"test": {
"type": "boolean",
"description": "true for a dry run: the same checks as a real request, nothing stored or sent; the reply has a test_ key, and get_request_status answers state test."
},
"consent": {
"type": "boolean",
"description": "Explicit consent to process name and phone and pass them to Vedar's partner tour operators (the request has no named operator and may reach several); ask the person and pass true, otherwise the request is not created."
}
},
"required": [
"name",
"phone",
"comment",
"consent"
]
}
}
},
"ToolCall_create_stay_request": {
"type": "object",
"description": "Kamchatka stay request: dates and guests go to the owner, human-confirmed by the owner, no payment. Sent by the person from a Vedar link. For tours use create_booking_request. Stay from search_accommodations (name or ID from its card link). The owner gets it by messenger, calls back and confirms dates and price; stays are not paid through Vedar. Only stays without own rooms on the platform or a booking site accept it; for others the reply says where to book. Name and phone go to the stay owner. Name, phone and consent come only from the person; never invent them. The call makes a draft: give the person the link from the reply, and they press Send on the Vedar page themselves.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "create_stay_request"
},
"arguments": {
"type": "object",
"properties": {
"accommodation": {
"type": "string",
"description": "Stay name or ID from search_accommodations."
},
"check_in": {
"type": "string",
"description": "Check-in date, YYYY-MM-DD; with plan_id, omitted means the first day of the plan."
},
"check_out": {
"type": "string",
"description": "Check-out date, YYYY-MM-DD, after check-in, at most 60 nights; with plan_id, omitted means the last day of the plan."
},
"guests": {
"type": "string",
"description": "Number of guests, 1–50; default from the plan, otherwise 1."
},
"name": {
"type": "string",
"description": "Guest's name, required; ask the person."
},
"phone": {
"type": "string",
"description": "Phone the owner will call back, required; ask the person for their own number in international format (country code first, +7 for Russia, 10–15 digits) and never invent one."
},
"comment": {
"type": "string",
"description": "Wishes for the owner."
},
"plan_id": {
"type": "string",
"description": "Plan ID from make_trip_plan when the request belongs to that plan: the owner sees the whole trip; omitted dates and guests are taken from the plan, and a mismatch with the plan is named in the reply."
},
"test": {
"type": "boolean",
"description": "true for a dry run: the same checks as a real request, nothing stored or sent; the reply has a test_ key, and get_request_status answers state test."
},
"consent": {
"type": "boolean",
"description": "Explicit consent to process name and phone and pass them to the stay's owner; ask the person and pass true, otherwise the request is not created."
}
},
"required": [
"accommodation",
"name",
"phone",
"consent"
]
}
}
},
"ToolCall_create_trip_request": {
"type": "object",
"description": "Whole Kamchatka trip in one request: tour + stay + charter vehicle under one trip id; each partner sees the rest. Human-confirmed, no payment. Sent by the person from a Vedar link. Pass at least one part: tour + tour_date, stay + check_in + check_out, or transfer_destination + transfer_date. Each part goes to its partner (tour operator, stay owner, manager with carrier); no carrier named — a Vedar manager picks one. Name, phone and consent come only from the person; never invent them. The call makes a draft: give the person the link from the reply, and they press Send on the Vedar page themselves.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "create_trip_request"
},
"arguments": {
"type": "object",
"properties": {
"participants": {
"type": "string",
"description": "Number of people in the trip; aliases guests, passengers, participants_count, guest_count are accepted."
},
"tour": {
"type": "string",
"description": "Tour ID or name from get_tours."
},
"tour_date": {
"type": "string",
"description": "Tour date, YYYY-MM-DD."
},
"stay": {
"type": "string",
"description": "Stay name or ID from search_accommodations."
},
"check_in": {
"type": "string",
"description": "Check-in date, YYYY-MM-DD."
},
"check_out": {
"type": "string",
"description": "Check-out date, YYYY-MM-DD."
},
"transfer_destination": {
"type": "string",
"description": "Transfer route or destination."
},
"transfer_date": {
"type": "string",
"description": "Transfer date, YYYY-MM-DD."
},
"transfer_date_to": {
"type": "string",
"description": "Last day of the charter, YYYY-MM-DD, if several days."
},
"carrier": {
"type": "string",
"description": "Carrier name from search_transfers; omit and a Vedar manager picks one."
},
"name": {
"type": "string",
"description": "Traveller's name, required; ask the person."
},
"phone": {
"type": "string",
"description": "Phone partners will call back, required; ask the person for their own number in international format (country code first, +7 for Russia, 10–15 digits) and never invent one."
},
"comment": {
"type": "string",
"description": "Wishes for all partners of the trip."
},
"plan_id": {
"type": "string",
"description": "Plan ID from make_trip_plan when the trip follows that plan: every part carries the plan; omitted people, tour date (for a tour ID from the plan) and stay dates are taken from the plan."
},
"notify_url": {
"type": "string",
"description": "Optional HTTPS URL of your receiver (host name, port 443): a signed Standard Webhooks POST on changes of state, date, offered date, tour or group size; the signing key is shown once in the reply. Not for stays. No receiver — omit, never invent one."
},
"test": {
"type": "boolean",
"description": "true for a dry run: the same checks as a real request, nothing stored or sent; the reply has a test_ key, and get_request_status answers state test."
},
"consent": {
"type": "boolean",
"description": "Explicit consent to process name and phone and pass them to every partner of the trip; pass true, otherwise refused."
}
},
"required": [
"name",
"phone",
"consent"
]
}
}
},
"ToolCall_edit_trip_plan": {
"type": "object",
"description": "Edit a Kamchatka trip plan from make_trip_plan by its ID: add, remove, move or replace a day, change lodging or group, shift the whole trip, apply a flight delay; untouched days stay. Tours whose date or group changed get seats and price re-read; a date shift also re-reads park closures and MChS reports. An impossible edit (arrival day, activity not for the children's age, out of season, no solution) is refused with the reason and the plan stays. Plans live 7 days; no plan — call make_trip_plan first.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "edit_trip_plan"
},
"arguments": {
"type": "object",
"properties": {
"plan_id": {
"type": "string",
"description": "Plan ID from the make_trip_plan answer."
},
"action": {
"type": "string",
"description": "add_day (a day with an activity), remove_day, move_day, replace_day (another activity that day), set_lodging, set_party (group), shift_dates (the whole trip) or flight_delay (only when the person says the flight is delayed)."
},
"day": {
"type": "string",
"description": "Day number in the plan, for remove_day, move_day and replace_day."
},
"to_day": {
"type": "string",
"description": "New position of the day, for move_day."
},
"interest": {
"type": "string",
"description": "Activity for add_day and replace_day, free text (Russian works best)."
},
"lodging": {
"type": "string",
"description": "Lodging level for set_lodging: economy (camps, hostels, tents), comfort (hotels, apartments) or premium (lodges)."
},
"delay_days": {
"type": "string",
"description": "For flight_delay: how many days the arrival flight is delayed, 1–7."
},
"keep_return": {
"type": "string",
"description": "For flight_delay: yes keeps the return date and shortens the trip (default); no shifts the whole trip."
},
"adults": {
"type": "string",
"description": "For set_party: number of adults, 1–30; omitted keeps the current number."
},
"children": {
"type": "string",
"description": "For set_party: age of each child in years — NOT a count (\"6, 10\" or [6, 10]; a baby under one — \"0 years\" or [0]); \"no\" removes the children; omitted keeps the current children. An activity too young for the youngest child is a refusal naming the days."
},
"start_date": {
"type": "string",
"description": "For shift_dates: the new first day of the trip, by the Kamchatka calendar — YYYY-MM-DD, DD.MM.YYYY, or a day or month in Russian words; the trip keeps its length."
},
"shift_days": {
"type": "string",
"description": "For shift_dates without start_date: how many days to move the trip, signed — 7 is a week later, -3 is three days earlier."
}
},
"required": [
"plan_id",
"action"
]
}
}
},
"ToolCall_fetch": {
"type": "object",
"description": "Full text of one Vedar Kamchatka record by id from search (tour, place, stay, route): description, price, program, safety facts; route: dated go/caution/no call, permit terms. Published records only. A place lists every tour offer with its company, ordered by the platform rule stated in the reply. A route call holds for its stated date only; ask again after it. A record not on the showcase is refused with the reason.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "fetch"
},
"arguments": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Record id from search: tour:<id>, place:<slug>, stay:<uuid> or route:<slug>."
}
},
"required": [
"id"
]
}
}
},
"ToolCall_get_guardian_context": {
"type": "object",
"description": "Kamchatka safety context for a place or route: place status, hazards, active alerts; a catalog route with no place record gets today's go/caution/no call and park permit terms. Facts: get_place_info. Also live KB GS RAS alerts, crowding and local knowledge. The route call (go / caution / not today) has its reason and matches the route card; permit terms are as recorded. With only a similar route name, it is named as an inexact match. Always use it for a specific place, volcano, lake, route or hot spring.",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"const": "get_guardian_context"
},
"arguments": {
"type": "object",
"properties": {
"place": {
"type": "string",
"description": "Place or route name."
}
},
"required": [
"place"
]
}
}
},
"ToolCall_get_place_info": {
"type": "object",
"description": "Kamchatka place facts on record: type, coordinates, altitude, hazards, distance to medical help, satellite comms, MChS registration, tours by company. No live alerts — use get_guardian_context. Gives the place page URL (share it when asked for a link or coordinates) and every tour offer with its company, ordered by the platform rule stated in the reply. No such place but a catalog route: the route, its data and park permit terms; a similar route name comes as a
# --- truncated at 32 KB (53 KB total) ---
# Full source: https://artifacts.apis.io/vedarai-ru/json-schema/vedarai-ru-a2-asend-message-request-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vedarai-ru-a2-asend-message-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.