Skip to content

get_cancelation_policy

Get a catalog cancelation policy by ID. Returns the policy name, cancelation fee percentage (0-100, not currently used: no charge or refund is calculated from it), and cool-off configuration ({ length, lengthUnit: HOURS|DAYS, type: BOOKING_CREATION|BOOKING_CONFIRMATION }) when set.

Parameter Type Required Description
cancelationPolicyId string Yes The ID of the cancelation policy to retrieve
Field Type Description
content ContentItem[] Array of content items returned by the tool - ContentItem
isError boolean Whether the tool execution resulted in an error
Field Type Description
type 'text' Content type (currently only ‘text’ is supported)
text string The text content to display