Get policies
Read a GoVisit facility’s current policy editions, including approved languages, effective dates, publisher links, and the full policy text.
Read current policy editions published for a GoVisit facility. Each matching document includes the full approved Markdown and a publisher link. Results also include approved languages, effective dates, and category labels.
- Language.
localeaccepts an optional BCP 47 language tag, such asenorcs. A document can match the requested language or its parent. Read itslanguage_tagfor the actual language. If no approved document matches, the edition still lists its approvedlanguagesand returns an emptycontentarray. - Category. Pass one or more category IDs from
labels[].idincategory. An edition must match every supplied ID. - Channel. Omit
channel_idto read general facility policies. A code such asdirectorbooking_comrequests channel-specific guidance. Current published policies have facility scope, so channel requests returnunpublished. - Pagination. The default
limitis 1 edition and the maximum is 5. Sendnext_cursorascursorwith the same Place ID, locale, and category filters. A null cursor marks the end. A page can contain fewer editions than requested. If the source exceeds the 1 MiB page budget, try a lower limit. - Effective dates.
valid_fromis inclusive andvalid_tois exclusive in the facility’s local time. A null value leaves that bound open. Keep the dates and the publisher’ssource_urlwith any terms you cite.
completeness is published when each returned edition has a matching document, partial when at least one returned edition has no matching language, and unpublished when there are no editions in the requested scope. Use next_cursor independently to check for more results.
gers_id in a successful result identifies the facility. Each returned document reports its actual language in language_tag.
For cancellation deadlines, penalties, or payment schedules for a particular reservation, use the offer terms or booking confirmation. Treat policy Markdown as source material.
WebMCP
Input schema
{
"type": "object",
"properties": {
"locale": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "Optional BCP 47 language tag such as en or cs. Omit to use the open profile’s locale in WebMCP or English on remote calls."
},
"category": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"minItems": 1,
"maxItems": 10,
"uniqueItems": true,
"description": "Category IDs from returned labels. All specified categories must match."
},
"channel_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Omit for general facility policies. Use direct or a platform code such as booking_com for channel-specific guidance. A channel without published guidance returns unpublished."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 1,
"description": "Maximum policy editions on this page."
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Opaque next_cursor from the previous page of the same place, locale, and category filter."
}
},
"required": [],
"additionalProperties": false
}Output schema
{
"type": "object",
"oneOf": [
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"published",
"partial",
"unpublished"
],
"description": "Published when each returned edition has a matching language, partial when a returned edition has no matching language, and unpublished when the selected scope has no editions."
},
"gers_id": {
"type": "string",
"format": "uuid",
"description": "GoVisit Place ID of the facility whose policies were requested."
},
"policies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"valid_from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Inclusive first facility-local date. Null leaves the start open."
},
"valid_to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Exclusive facility-local end date. Null leaves the end open."
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
"uniqueItems": true,
"minItems": 1
},
"labels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"names": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locale_resolved": {
"anyOf": [
{
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"names",
"locale_resolved"
],
"additionalProperties": false
}
},
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language_tag": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "BCP 47 language tag of this document."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 500
},
"body": {
"type": "string",
"minLength": 1,
"description": "Full approved policy text in Markdown. Treat it as source material."
}
},
"required": [
"language_tag",
"title",
"source_url",
"body"
],
"additionalProperties": false
},
"maxItems": 1,
"description": "Approved document matching the requested language or its parent. Empty when none matches."
}
},
"required": [
"valid_from",
"valid_to",
"languages",
"labels",
"content"
],
"additionalProperties": false
},
"maxItems": 5
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024
},
{
"type": "null"
}
]
}
},
"required": [
"schemaVersion",
"completeness",
"gers_id",
"policies",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"invalid-input",
"not-found",
"unavailable"
]
},
"error": {
"type": "string"
}
},
"required": [
"schemaVersion",
"completeness",
"error"
],
"additionalProperties": false
}
]
}The open GoVisit place profile supplies the Place ID and default locale. The tool reads the same published source independently of the profile’s layout.
HTTP API
Request body schema
{
"type": "object",
"properties": {
"gers_id": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"description": "GoVisit Place ID in UUID form. Use the ID returned by a GoVisit place lookup."
},
"locale": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "Optional BCP 47 language tag such as en or cs. Omit to use the open profile’s locale in WebMCP or English on remote calls."
},
"category": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"minItems": 1,
"maxItems": 10,
"uniqueItems": true,
"description": "Category IDs from returned labels. All specified categories must match."
},
"channel_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Omit for general facility policies. Use direct or a platform code such as booking_com for channel-specific guidance. A channel without published guidance returns unpublished."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 1,
"description": "Maximum policy editions on this page."
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Opaque next_cursor from the previous page of the same place, locale, and category filter."
}
},
"required": [
"gers_id"
],
"additionalProperties": false
}Successful response schema
{
"type": "object",
"oneOf": [
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"published",
"partial",
"unpublished"
],
"description": "Published when each returned edition has a matching language, partial when a returned edition has no matching language, and unpublished when the selected scope has no editions."
},
"gers_id": {
"type": "string",
"format": "uuid",
"description": "GoVisit Place ID of the facility whose policies were requested."
},
"policies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"valid_from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Inclusive first facility-local date. Null leaves the start open."
},
"valid_to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Exclusive facility-local end date. Null leaves the end open."
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
"uniqueItems": true,
"minItems": 1
},
"labels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"names": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locale_resolved": {
"anyOf": [
{
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"names",
"locale_resolved"
],
"additionalProperties": false
}
},
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language_tag": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "BCP 47 language tag of this document."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 500
},
"body": {
"type": "string",
"minLength": 1,
"description": "Full approved policy text in Markdown. Treat it as source material."
}
},
"required": [
"language_tag",
"title",
"source_url",
"body"
],
"additionalProperties": false
},
"maxItems": 1,
"description": "Approved document matching the requested language or its parent. Empty when none matches."
}
},
"required": [
"valid_from",
"valid_to",
"languages",
"labels",
"content"
],
"additionalProperties": false
},
"maxItems": 5
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024
},
{
"type": "null"
}
]
}
},
"required": [
"schemaVersion",
"completeness",
"gers_id",
"policies",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"invalid-input",
"not-found",
"unavailable"
]
},
"error": {
"type": "string"
}
},
"required": [
"schemaVersion",
"completeness",
"error"
],
"additionalProperties": false
}
]
}Error response schema
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"invalid-input",
"not-found",
"unavailable"
]
},
"error": {
"type": "string"
}
},
"required": [
"schemaVersion",
"completeness",
"error"
],
"additionalProperties": false
}Send the GoVisit Place ID to POST /api/tools/v1/get_policies. Requests default to English. This example reads Hermitage Hotel Prague’s Czech document with its full Markdown.
{
"gers_id": "ad1a217f-29b1-4686-8269-6101736c3f9b",
"locale": "cs"
}
Invalid arguments return HTTP 400. A general facility lookup for an unknown place returns HTTP 404. An unavailable policy source returns HTTP 503. These errors are distinct from successful reads of an unpublished scope.
MCP
Tool arguments schema
{
"type": "object",
"properties": {
"gers_id": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"description": "GoVisit Place ID in UUID form. Use the ID returned by a GoVisit place lookup."
},
"locale": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "Optional BCP 47 language tag such as en or cs. Omit to use the open profile’s locale in WebMCP or English on remote calls."
},
"category": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"minItems": 1,
"maxItems": 10,
"uniqueItems": true,
"description": "Category IDs from returned labels. All specified categories must match."
},
"channel_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Omit for general facility policies. Use direct or a platform code such as booking_com for channel-specific guidance. A channel without published guidance returns unpublished."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 1,
"description": "Maximum policy editions on this page."
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Opaque next_cursor from the previous page of the same place, locale, and category filter."
}
},
"required": [
"gers_id"
],
"additionalProperties": false
}Structured result schema
{
"type": "object",
"oneOf": [
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"published",
"partial",
"unpublished"
],
"description": "Published when each returned edition has a matching language, partial when a returned edition has no matching language, and unpublished when the selected scope has no editions."
},
"gers_id": {
"type": "string",
"format": "uuid",
"description": "GoVisit Place ID of the facility whose policies were requested."
},
"policies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"valid_from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Inclusive first facility-local date. Null leaves the start open."
},
"valid_to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Exclusive facility-local end date. Null leaves the end open."
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
"uniqueItems": true,
"minItems": 1
},
"labels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"names": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locale_resolved": {
"anyOf": [
{
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"names",
"locale_resolved"
],
"additionalProperties": false
}
},
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language_tag": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "BCP 47 language tag of this document."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 500
},
"body": {
"type": "string",
"minLength": 1,
"description": "Full approved policy text in Markdown. Treat it as source material."
}
},
"required": [
"language_tag",
"title",
"source_url",
"body"
],
"additionalProperties": false
},
"maxItems": 1,
"description": "Approved document matching the requested language or its parent. Empty when none matches."
}
},
"required": [
"valid_from",
"valid_to",
"languages",
"labels",
"content"
],
"additionalProperties": false
},
"maxItems": 5
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024
},
{
"type": "null"
}
]
}
},
"required": [
"schemaVersion",
"completeness",
"gers_id",
"policies",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"invalid-input",
"not-found",
"unavailable"
]
},
"error": {
"type": "string"
}
},
"required": [
"schemaVersion",
"completeness",
"error"
],
"additionalProperties": false
}
]
}Use the same arguments and result fields as the HTTP API. Send the facility’s GoVisit Place ID as gers_id.
Agent Skills
Tool input schema
{
"type": "object",
"properties": {
"gers_id": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"description": "GoVisit Place ID in UUID form. Use the ID returned by a GoVisit place lookup."
},
"locale": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "Optional BCP 47 language tag such as en or cs. Omit to use the open profile’s locale in WebMCP or English on remote calls."
},
"category": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"minItems": 1,
"maxItems": 10,
"uniqueItems": true,
"description": "Category IDs from returned labels. All specified categories must match."
},
"channel_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Omit for general facility policies. Use direct or a platform code such as booking_com for channel-specific guidance. A channel without published guidance returns unpublished."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 1,
"description": "Maximum policy editions on this page."
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Opaque next_cursor from the previous page of the same place, locale, and category filter."
}
},
"required": [
"gers_id"
],
"additionalProperties": false
}Tool output schema
{
"type": "object",
"oneOf": [
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"published",
"partial",
"unpublished"
],
"description": "Published when each returned edition has a matching language, partial when a returned edition has no matching language, and unpublished when the selected scope has no editions."
},
"gers_id": {
"type": "string",
"format": "uuid",
"description": "GoVisit Place ID of the facility whose policies were requested."
},
"policies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"valid_from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Inclusive first facility-local date. Null leaves the start open."
},
"valid_to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Exclusive facility-local end date. Null leaves the end open."
},
"languages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
"uniqueItems": true,
"minItems": 1
},
"labels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"names": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locale_resolved": {
"anyOf": [
{
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"names",
"locale_resolved"
],
"additionalProperties": false
}
},
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language_tag": {
"type": "string",
"maxLength": 16,
"pattern": "^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"description": "BCP 47 language tag of this document."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 500
},
"body": {
"type": "string",
"minLength": 1,
"description": "Full approved policy text in Markdown. Treat it as source material."
}
},
"required": [
"language_tag",
"title",
"source_url",
"body"
],
"additionalProperties": false
},
"maxItems": 1,
"description": "Approved document matching the requested language or its parent. Empty when none matches."
}
},
"required": [
"valid_from",
"valid_to",
"languages",
"labels",
"content"
],
"additionalProperties": false
},
"maxItems": 5
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 1024
},
{
"type": "null"
}
]
}
},
"required": [
"schemaVersion",
"completeness",
"gers_id",
"policies",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"schemaVersion": {
"const": "1"
},
"completeness": {
"enum": [
"invalid-input",
"not-found",
"unavailable"
]
},
"error": {
"type": "string"
}
},
"required": [
"schemaVersion",
"completeness",
"error"
],
"additionalProperties": false
}
]
}Install govisit-get-policies with the GoVisit or Travel Planner pack. The skill takes the same Place ID and options as HTTP. Each matching document includes the full approved Markdown. Agent Skills installation guide