List the workspace’s own catalog cancelation policies with cursor-based pagination. Filter by workspace ID(s); without a
filter, lists the policies of every workspace the caller has permissions to. Each item includes the policy id,
workspaceId, name, cancelationFeePercentage (0-100, not currently used: no charge or refund is calculated from it) and
cool-off configuration when set. For the OTA reference policies used when setting up channel listings, use
get_cancelation_policies.
| Parameter |
Type |
Required |
Description |
first |
number |
No |
Number of results to return (forward pagination, max 25). Defaults to 25 if neither first nor last is provided. |
after |
string |
No |
Cursor for forward pagination. Pass the endCursor from the previous page. |
last |
number |
No |
Number of results to return (backward pagination, max 25). Use with before for reverse paging. |
before |
string |
No |
Cursor for backward pagination. Pass the startCursor from the previous page. |
filters |
ListCancelationPoliciesFilters |
No |
Filter criteria. Example: { “workspaceIds”: [“3”] }. Without it, lists the policies of every workspace the caller has permissions to. - ListCancelationPoliciesFilters |
| Field |
Type |
Required |
Description |
workspaceIds |
string[] |
No |
Filter by one or more workspace IDs (results will include cancelation policies in any of the listed workspaces) |
| 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 |