Discover local services and availability, then create, track, reschedule, or cancel bookings.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Cancels one grant-authorized booking after explicit user confirmation. Reusing idempotency_key makes retries safe. Kirah refuses cancellations that could refund a charged deposit or restore a paid plan session; an allowed cancellation has no undo.
The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. It must carry the `booking:cancel` scope. Tampered, wrong-booking, wrong-tenant, revoked and insufficiently-scoped grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant.
The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai).
The reference create_booking returned for the booking you want to CANCEL. It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant.
REQUIRED — unlike create_booking, this action cannot derive one, because "cancel booking X" is byte-identical whether it is a transport retry or a deliberate second call. Omitting it answers missing_idempotency_key. Reuse the SAME key when retrying the SAME cancellation: the replay returns the original result with idempotent_replay:true, cancels nothing and sends no second notice. The same key against a different booking_ref answers idempotency_conflict.
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Cancels one grant-authorized booking after explicit user confirmation. Reusing idempotency_key makes retries safe. Kirah refuses cancellations that could refund a charged deposit or restore a paid plan session; an allowed cancellation has no undo.
| Argument | Type | Description |
|---|---|---|
| grant* | string | The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. It must carry the `booking:cancel` scope. Tampered, wrong-booking, wrong-tenant, revoked and insufficiently-scoped grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant. |
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
| booking_ref* | string | The reference create_booking returned for the booking you want to CANCEL. It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant. |
| agent_metadata | object | |
| idempotency_key* | string | REQUIRED — unlike create_booking, this action cannot derive one, because "cancel booking X" is byte-identical whether it is a transport retry or a deliberate second call. Omitting it answers missing_idempotency_key. Reuse the SAME key when retrying the SAME cancellation: the replay returns the original result with idempotent_replay:true, cancels nothing and sends no second notice. The same key against a different booking_ref answers idempotency_conflict. |
{
"type": "object",
"required": [
"tenant",
"booking_ref",
"grant",
"idempotency_key"
],
"properties": {
"grant": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. It must carry the `booking:cancel` scope. Tampered, wrong-booking, wrong-tenant, revoked and insufficiently-scoped grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant."
},
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
},
"booking_ref": {
"type": "string",
"maxLength": 200,
"minLength": 16,
"description": "The reference create_booking returned for the booking you want to CANCEL. It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant."
},
"agent_metadata": {
"type": "object",
"properties": {
"source": {
"type": "string",
"maxLength": 120
},
"request_id": {
"type": "string",
"maxLength": 120
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 16,
"description": "REQUIRED — unlike create_booking, this action cannot derive one, because \"cancel booking X\" is byte-identical whether it is a transport retry or a deliberate second call. Omitting it answers missing_idempotency_key. Reuse the SAME key when retrying the SAME cancellation: the replay returns the original result with idempotent_replay:true, cancels nothing and sends no second notice. The same key against a different booking_ref answers idempotency_conflict."
}
},
"additionalProperties": false
}Creates one guest booking for an exact service, provider and ISO-8601 start time after explicit user confirmation. Reusing idempotency_key makes retries safe. Kirah accepts no payment credentials through MCP; a deposit-required service may return a Kirah-hosted human payment continuation, but this call transfers no funds.
| Argument | Type | Description |
|---|---|---|
| client* | object | |
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
| start_iso* | string | |
| service_id* | string | |
| provider_id | string | |
| agent_metadata | object | |
| idempotency_key | string | |
| intake_responses | object | Answers to the service's intake form (2.8), keyed by intake field id as advertised in list_services' service.intake_form.fields[].id. FLAT only: values must be a string, a boolean, or a finite number — arrays, nested objects and nulls are rejected. Unknown keys are ignored by the booking engine. Answers are validated against the LIVE form; a required plain boolean accepts an explicit true OR false, a consent boolean accepts only true, and a select must exactly match one advertised option. Omit this field entirely when the service has no intake form. |
Checks up to five top matching eligible Kirah businesses for earliest current availability within an exact ISO-8601 window of up to 14 days. Returns checked status and a partial-coverage flag.
| Argument | Type | Description |
|---|---|---|
| query* | string | The consumer's service need in plain words — identical semantics to search_businesses.query. |
| location | string | Optional place text ('City, ST', ZIP, bare city/state) OR explicit coordinates 'lat,lng' — identical semantics to search_businesses.location. |
| tenant_mode | string | The authoritative demo eligibility filter, with the same semantics as search_businesses. include_demos is the default and returns real and demo candidates; real_only excludes demos; demos_only returns only clearly labeled demonstration candidates. |
| include_demo | boolean | Back-compat alias: true is equivalent to tenant_mode 'include_demos' and false to 'real_only'. When omitted, tenant_mode defaults to include_demos. Every demo candidate carries demo:true and a demo_notice. Supplying both include_demo and tenant_mode with disagreeing demo-inclusion is invalid_tenant_mode. |
| radius_miles | integer | Radius in miles (default 25) — operative when the location resolves to coordinates (2.6 semantics). |
| earliest_after | string |
Returns current open times for one exact service and optional provider over a YYYY-MM-DD range of up to 31 days, with at most 20 rows. Approval-mode times are preferences rather than holds.
| Argument | Type | Description |
|---|---|---|
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
| date_range* | object | |
| service_id* | string | |
| provider_id | string |
{
"type": "object",
"required": [
"tenant",
"service_id",
"date_range"
],
"properties": {
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
},
"date_range": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"format": "date"
},
"start": {
"type": "string",
"format": "date"
}
},
"additionalProperties": false
},
"service_id": {
"type": "string",
"maxLength": 200
},
"provider_id": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
}Returns the current status, time, service and provider for one grant-authorized booking reference. Client contact details and intake responses are excluded.
| Argument | Type | Description |
|---|---|---|
| grant | string | The booking-bound capability token returned by create_booking. It must match this tenant and booking_ref and remain unexpired and unrevoked. |
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
| booking_ref* | string | The reference create_booking returned (its idempotency key). Tampered, unrelated, cross-tenant or never-committed references answer one indistinguishable booking_not_found. |
{
"type": "object",
"required": [
"tenant",
"booking_ref"
],
"properties": {
"grant": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "The booking-bound capability token returned by create_booking. It must match this tenant and booking_ref and remain unexpired and unrevoked."
},
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
},
"booking_ref": {
"type": "string",
"maxLength": 200,
"minLength": 16,
"description": "The reference create_booking returned (its idempotency key). Tampered, unrelated, cross-tenant or never-committed references answer one indistinguishable booking_not_found."
}
},
"additionalProperties": false
}Returns up to five real alternate times and the current fee or approval consequences for one grant-authorized booking. It does not hold, move or cancel the appointment.
| Argument | Type | Description |
|---|---|---|
| grant* | string | The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. Tampered, wrong-booking, wrong-tenant and revoked grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant. These are the GRANT codes, not the payment page's invalid_token/expired_token — through contract 2.11 this action answered the latter, whose prose wrongly told callers their payment link was broken. |
| limit | integer | How many options to return. Default 2, hard maximum 5; a larger value is CLAMPED to 5 rather than rejected. The ceiling is deliberate: the primary consumer is a voice agent reading options aloud, and five spoken times is more than a caller can hold in their head. |
| latest | string | Optional exact ISO 8601 instant — the latest replacement time to consider. Default: now + 14 days. Must be after `earliest` and at most 31 days after it; anything else answers invalid_latest. Supply it explicitly whenever `earliest` is more than 14 days out. |
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
Returns one published Kirah business catalog with current services, providers, timezone, prices, durations, deposit requirements, intake-question definitions and derived booking capabilities.
| Argument | Type | Description |
|---|---|---|
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
{
"type": "object",
"required": [
"tenant"
],
"properties": {
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
}
},
"additionalProperties": false
}Atomically moves one grant-authorized booking to a real open time after explicit user confirmation. Reusing idempotency_key makes retries safe. Failure leaves the original booking unchanged; success returns a rotated grant.
| Argument | Type | Description |
|---|---|---|
| grant* | string | The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. It must carry the `booking:reschedule` scope. Tampered, wrong-booking, wrong-tenant, revoked and insufficiently-scoped grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant. These are the GRANT codes, not the payment page's invalid_token/expired_token — through contract 2.11 this action answered the latter, whose prose wrongly told callers their payment link was broken. |
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
| start_iso* | string | The exact ISO 8601 instant to move the appointment to. Natural-language times are not accepted. You may supply it DIRECTLY — calling get_reschedule_options first is optional, not required — because the instant is validated against real availability by the same slot engine create_booking uses. A time that is not genuinely open answers slot_taken with the original booking untouched; a time further ahead than this business books answers beyond_booking_horizon. |
| booking_ref |
Searches Kirah's eligible public business directory by service need or exact Kirah Agent Address, with optional coarse location, price and demo-mode filters. Demo results are explicitly labeled.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query | string | The consumer's need in plain words (e.g. 'lower back tightness', 'prenatal massage'). Matched deterministically against real service catalogs, expanded by the discovery ontology. |
| cursor | string | Opaque next_cursor value from a previous search_businesses response with the SAME query/filters: resumes after that tenant in the stable ordering. A cursor that does not decode, or that names a tenant not present in the current ordering, is invalid_cursor. |
| location | string | Optional place text ('City, ST', ZIP, bare city/state) OR explicit coordinates 'lat,lng'. With resolvable coordinates, radius_miles applies as real distance; otherwise matching is city/ZIP/metro-market text equality. |
| tenant_mode | string | The authoritative eligibility filter for demo tenants. include_demos (default) returns real and demo businesses together; every demo is flagged demo:true and carries a clear notice. real_only excludes every demo business; demos_only returns ONLY demo businesses. A discovery-disabled, inactive, or otherwise ineligible tenant never appears in any mode — not even when its catalog uniquely matches the query. |
Ranks up to five services in one published Kirah business catalog against a short free-text query. Returns catalog-grounded candidate identifiers, names, scores and match evidence.
| Argument | Type | Description |
|---|---|---|
| query* | string | |
| tenant* | string | The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai). |
{
"type": "object",
"required": [
"tenant",
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"tenant",
"service_id",
"start_iso",
"client"
],
"properties": {
"client": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"email": {
"type": "string",
"format": "email",
"maxLength": 200
},
"phone": {
"type": "string",
"maxLength": 60
}
},
"additionalProperties": false
},
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
},
"start_iso": {
"type": "string",
"format": "date-time"
},
"service_id": {
"type": "string",
"maxLength": 200
},
"provider_id": {
"type": "string",
"maxLength": 200
},
"agent_metadata": {
"type": "object",
"properties": {
"source": {
"type": "string",
"maxLength": 120
},
"request_id": {
"type": "string",
"maxLength": 120
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 16
},
"intake_responses": {
"type": "object",
"description": "Answers to the service's intake form (2.8), keyed by intake field id as advertised in list_services' service.intake_form.fields[].id. FLAT only: values must be a string, a boolean, or a finite number — arrays, nested objects and nulls are rejected. Unknown keys are ignored by the booking engine. Answers are validated against the LIVE form; a required plain boolean accepts an explicit true OR false, a consent boolean accepts only true, and a select must exactly match one advertised option. Omit this field entirely when the service has no intake form.",
"maxProperties": 40,
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": [
"string",
"boolean",
"number"
],
"maxLength": 4000
}
}
},
"additionalProperties": false
}| Exact ISO 8601 instant the window opens (default: now). Natural-language times are rejected (invalid_earliest_after). |
| candidate_limit | integer | How many top-matching businesses get LIVE availability checks (invalid_candidate_limit outside 1-5). This bounds the whole fan-out: businesses beyond it are never touched, and partial:true says so. |
| earliest_before | string | Exact ISO 8601 instant the window closes (default: earliest_after + 14 days). Must be after earliest_after and at most 14 days after it (invalid_earliest_before). |
| max_price_cents | integer | Only candidate services with a parseable price at or under this amount are considered. |
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The consumer's service need in plain words — identical semantics to search_businesses.query."
},
"location": {
"type": "string",
"maxLength": 120,
"description": "Optional place text ('City, ST', ZIP, bare city/state) OR explicit coordinates 'lat,lng' — identical semantics to search_businesses.location."
},
"tenant_mode": {
"enum": [
"real_only",
"include_demos",
"demos_only"
],
"type": "string",
"default": "include_demos",
"description": "The authoritative demo eligibility filter, with the same semantics as search_businesses. include_demos is the default and returns real and demo candidates; real_only excludes demos; demos_only returns only clearly labeled demonstration candidates."
},
"include_demo": {
"type": "boolean",
"description": "Back-compat alias: true is equivalent to tenant_mode 'include_demos' and false to 'real_only'. When omitted, tenant_mode defaults to include_demos. Every demo candidate carries demo:true and a demo_notice. Supplying both include_demo and tenant_mode with disagreeing demo-inclusion is invalid_tenant_mode."
},
"radius_miles": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Radius in miles (default 25) — operative when the location resolves to coordinates (2.6 semantics)."
},
"earliest_after": {
"type": "string",
"format": "date-time",
"description": "Exact ISO 8601 instant the window opens (default: now). Natural-language times are rejected (invalid_earliest_after)."
},
"candidate_limit": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1,
"description": "How many top-matching businesses get LIVE availability checks (invalid_candidate_limit outside 1-5). This bounds the whole fan-out: businesses beyond it are never touched, and partial:true says so."
},
"earliest_before": {
"type": "string",
"format": "date-time",
"description": "Exact ISO 8601 instant the window closes (default: earliest_after + 14 days). Must be after earliest_after and at most 14 days after it (invalid_earliest_before)."
},
"max_price_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Only candidate services with a parseable price at or under this amount are considered."
}
},
"additionalProperties": false
}| earliest | string | Optional exact ISO 8601 instant — the earliest replacement time to consider. Default: now + 2 hours (a slot the customer cannot physically reach is not an option). Natural-language times are not accepted. |
| booking_ref* | string | The reference create_booking returned (its idempotency key). It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant. |
{
"type": "object",
"required": [
"tenant",
"booking_ref",
"grant"
],
"properties": {
"grant": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. Tampered, wrong-booking, wrong-tenant and revoked grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant. These are the GRANT codes, not the payment page's invalid_token/expired_token — through contract 2.11 this action answered the latter, whose prose wrongly told callers their payment link was broken."
},
"limit": {
"type": "integer",
"default": 2,
"maximum": 5,
"minimum": 1,
"description": "How many options to return. Default 2, hard maximum 5; a larger value is CLAMPED to 5 rather than rejected. The ceiling is deliberate: the primary consumer is a voice agent reading options aloud, and five spoken times is more than a caller can hold in their head."
},
"latest": {
"type": "string",
"format": "date-time",
"description": "Optional exact ISO 8601 instant — the latest replacement time to consider. Default: now + 14 days. Must be after `earliest` and at most 31 days after it; anything else answers invalid_latest. Supply it explicitly whenever `earliest` is more than 14 days out."
},
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
},
"earliest": {
"type": "string",
"format": "date-time",
"description": "Optional exact ISO 8601 instant — the earliest replacement time to consider. Default: now + 2 hours (a slot the customer cannot physically reach is not an option). Natural-language times are not accepted."
},
"booking_ref": {
"type": "string",
"maxLength": 200,
"minLength": 16,
"description": "The reference create_booking returned (its idempotency key). It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant."
}
},
"additionalProperties": false
}| string |
| The reference create_booking returned for the booking you want to MOVE. It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant. A successful move does not change it. |
| provider_id | string | OPTIONAL. Move the booking to a different provider. Omit it and the booking keeps the provider it is already on — the customer booked a person, not a room. An explicit provider is honored only when that provider exists in this tenant's catalog (else unknown_provider) AND performs the booked service (else provider_service_mismatch). The service and its duration never change. |
| agent_metadata | object |
| idempotency_key* | string | REQUIRED — unlike create_booking, this action cannot derive one, because "move booking X to time T" is byte-identical whether it is a retry or a deliberate second move. Omitting it answers missing_idempotency_key. Reuse the SAME key when retrying the SAME move: the replay returns the original result with idempotent_replay:true and moves nothing. The same key with a different start_iso or provider_id answers idempotency_conflict. |
{
"type": "object",
"required": [
"tenant",
"booking_ref",
"grant",
"start_iso",
"idempotency_key"
],
"properties": {
"grant": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "The capability token from this booking's create_booking response (confirmation.grant). Required: without it there is no way to establish that you are the agent that made this booking. It must carry the `booking:reschedule` scope. Tampered, wrong-booking, wrong-tenant, revoked and insufficiently-scoped grants all answer invalid_grant, indistinguishably; an authentic grant past the appointment start answers expired_grant. These are the GRANT codes, not the payment page's invalid_token/expired_token — through contract 2.11 this action answered the latter, whose prose wrongly told callers their payment link was broken."
},
"tenant": {
"type": "string",
"maxLength": 253,
"description": "The tenant to operate on: the provider.tenant_slug value from the tenant's /.well-known/kirah.json manifest (the tenant's full domain, e.g. <slug>.kirah.ai)."
},
"start_iso": {
"type": "string",
"format": "date-time",
"description": "The exact ISO 8601 instant to move the appointment to. Natural-language times are not accepted. You may supply it DIRECTLY — calling get_reschedule_options first is optional, not required — because the instant is validated against real availability by the same slot engine create_booking uses. A time that is not genuinely open answers slot_taken with the original booking untouched; a time further ahead than this business books answers beyond_booking_horizon."
},
"booking_ref": {
"type": "string",
"maxLength": 200,
"minLength": 16,
"description": "The reference create_booking returned for the booking you want to MOVE. It must be the SAME booking the supplied grant was issued for; a mismatch answers invalid_grant, indistinguishably from a forged grant. A successful move does not change it."
},
"provider_id": {
"type": "string",
"maxLength": 200,
"description": "OPTIONAL. Move the booking to a different provider. Omit it and the booking keeps the provider it is already on — the customer booked a person, not a room. An explicit provider is honored only when that provider exists in this tenant's catalog (else unknown_provider) AND performs the booked service (else provider_service_mismatch). The service and its duration never change."
},
"agent_metadata": {
"type": "object",
"properties": {
"source": {
"type": "string",
"maxLength": 120
},
"request_id": {
"type": "string",
"maxLength": 120
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 16,
"description": "REQUIRED — unlike create_booking, this action cannot derive one, because \"move booking X to time T\" is byte-identical whether it is a retry or a deliberate second move. Omitting it answers missing_idempotency_key. Reuse the SAME key when retrying the SAME move: the replay returns the original result with idempotent_replay:true and moves nothing. The same key with a different start_iso or provider_id answers idempotency_conflict."
}
},
"additionalProperties": false
}| include_demo |
| boolean |
| Back-compat alias: true is equivalent to tenant_mode 'include_demos' and false to 'real_only'. When omitted, tenant_mode defaults to include_demos. Every demo result carries demo:true and a demo_notice. Supplying both include_demo and tenant_mode with disagreeing demo-inclusion is invalid_tenant_mode. |
| radius_miles | integer | Radius in miles (default 25) — OPERATIVE when the location resolves to coordinates (2.6); otherwise answered with a truthful distance_note instead of a fabricated distance. |
| agent_address | string | Exact public locator `<handle>@kirah.ai`; case-insensitive ASCII only. A locator, never authentication or owner authority. Reserved, malformed, unlisted, disabled, non-bookable, and tenant_mode-ineligible addresses do not resolve. Exact mode never fuzzy-matches a near miss. |
| max_price_cents | integer | Only services with a parseable price at or under this amount are returned; unpriced services are excluded when this is set. |
{
"type": "object",
"anyOf": [
{
"required": [
"query"
]
},
{
"required": [
"agent_address"
]
}
],
"properties": {
"limit": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The consumer's need in plain words (e.g. 'lower back tightness', 'prenatal massage'). Matched deterministically against real service catalogs, expanded by the discovery ontology."
},
"cursor": {
"type": "string",
"maxLength": 300,
"description": "Opaque next_cursor value from a previous search_businesses response with the SAME query/filters: resumes after that tenant in the stable ordering. A cursor that does not decode, or that names a tenant not present in the current ordering, is invalid_cursor."
},
"location": {
"type": "string",
"maxLength": 120,
"description": "Optional place text ('City, ST', ZIP, bare city/state) OR explicit coordinates 'lat,lng'. With resolvable coordinates, radius_miles applies as real distance; otherwise matching is city/ZIP/metro-market text equality."
},
"tenant_mode": {
"enum": [
"real_only",
"include_demos",
"demos_only"
],
"type": "string",
"default": "include_demos",
"description": "The authoritative eligibility filter for demo tenants. include_demos (default) returns real and demo businesses together; every demo is flagged demo:true and carries a clear notice. real_only excludes every demo business; demos_only returns ONLY demo businesses. A discovery-disabled, inactive, or otherwise ineligible tenant never appears in any mode — not even when its catalog uniquely matches the query."
},
"include_demo": {
"type": "boolean",
"description": "Back-compat alias: true is equivalent to tenant_mode 'include_demos' and false to 'real_only'. When omitted, tenant_mode defaults to include_demos. Every demo result carries demo:true and a demo_notice. Supplying both include_demo and tenant_mode with disagreeing demo-inclusion is invalid_tenant_mode."
},
"radius_miles": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Radius in miles (default 25) — OPERATIVE when the location resolves to coordinates (2.6); otherwise answered with a truthful distance_note instead of a fabricated distance."
},
"agent_address": {
"type": "string",
"pattern": "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?@[Kk][Ii][Rr][Aa][Hh]\\.[Aa][Ii]$",
"maxLength": 253,
"description": "Exact public locator `<handle>@kirah.ai`; case-insensitive ASCII only. A locator, never authentication or owner authority. Reserved, malformed, unlisted, disabled, non-bookable, and tenant_mode-ineligible addresses do not resolve. Exact mode never fuzzy-matches a near miss."
},
"max_price_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Only services with a parseable price at or under this amount are returned; unpriced services are excluded when this is set."
}
},
"additionalProperties": false
}