{
  "service": "whop",
  "displayName": "Whop",
  "categories": [
    "Finance",
    "Marketing"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "WHOP_API_KEY",
      "description": "Whop API key sent with the Authorization: Bearer header. Create an Account API key or reveal an App API key from the Whop dashboard using the official API key guide: https://docs.whop.com/developer/api/quickstart#create-an-api-key."
    }
  ],
  "homepageUrl": "https://whop.com",
  "actions": [
    {
      "id": "whop.get_authorized_user",
      "service": "whop",
      "name": "get_authorized_user",
      "description": "Retrieve a Whop authorized user by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop authorized user identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for retrieving a Whop authorized user."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop authorized user identifier."
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "sales_manager",
              "moderator",
              "advertiser",
              "app_manager",
              "support",
              "manager",
              "custom"
            ],
            "description": "Role assigned to a Whop authorized user."
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The unique Whop user identifier."
              },
              "username": {
                "type": "string",
                "minLength": 1,
                "description": "The user's public username."
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user's display name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "email": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user's email address when the credential has email access."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "Whop user summary."
          },
          "company": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The unique Whop company identifier."
              },
              "title": {
                "type": "string",
                "minLength": 1,
                "description": "The company display name."
              }
            },
            "additionalProperties": true,
            "description": "Company this user can administer."
          }
        },
        "additionalProperties": true,
        "description": "Whop authorized user resource."
      }
    },
    {
      "id": "whop.get_company",
      "service": "whop",
      "name": "get_company",
      "description": "Retrieve a Whop company by ID or route slug.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop company identifier or route slug."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for retrieving a Whop company."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "Whop company resource."
      }
    },
    {
      "id": "whop.get_membership",
      "service": "whop",
      "name": "get_membership",
      "description": "Retrieve a Whop membership by membership ID or license key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop membership identifier or license key."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for retrieving a Whop membership."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop membership identifier."
          },
          "status": {
            "type": "string",
            "enum": [
              "trialing",
              "active",
              "past_due",
              "completed",
              "canceled",
              "expired",
              "unresolved",
              "drafted",
              "canceling"
            ],
            "description": "Whop membership lifecycle status."
          },
          "created_at": {
            "type": "string",
            "description": "The datetime when this membership was created.",
            "format": "date-time"
          },
          "joined_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The datetime when the user joined the company.",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "updated_at": {
            "type": "string",
            "description": "The datetime when this membership was last updated.",
            "format": "date-time"
          },
          "manage_url": {
            "anyOf": [
              {
                "type": "string",
                "description": "URL where the customer can manage this membership."
              },
              {
                "type": "null"
              }
            ]
          },
          "member": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The unique Whop resource identifier."
                  }
                },
                "additionalProperties": true,
                "description": "Whop linked resource summary."
              },
              {
                "type": "null"
              }
            ]
          },
          "user": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The unique Whop user identifier."
                  },
                  "username": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The user's public username."
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The user's display name."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "email": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The user's email address when the credential has email access."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": true,
                "description": "Whop user summary."
              },
              {
                "type": "null"
              }
            ]
          },
          "cancel_at_period_end": {
            "type": "boolean",
            "description": "Whether this membership will cancel at period end."
          },
          "cancel_option": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "too_expensive",
                  "switching",
                  "missing_features",
                  "technical_issues",
                  "bad_experience",
                  "other",
                  "testing"
                ],
                "description": "Whop membership cancellation reason."
              },
              {
                "type": "null"
              }
            ]
          },
          "cancellation_reason": {
            "anyOf": [
              {
                "type": "string",
                "description": "Free-text cancellation reason."
              },
              {
                "type": "null"
              }
            ]
          },
          "canceled_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The datetime when this membership was canceled.",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "currency": {
            "anyOf": [
              {
                "type": "string",
                "description": "The membership billing currency."
              },
              {
                "type": "null"
              }
            ]
          },
          "company": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The unique Whop company identifier."
              },
              "title": {
                "type": "string",
                "minLength": 1,
                "description": "The company display name."
              }
            },
            "additionalProperties": true,
            "description": "Company linked to this membership."
          },
          "plan": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The unique Whop plan identifier."
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "Custom metadata stored on the plan."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "Plan linked to this membership."
          },
          "promo_code": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The unique Whop resource identifier."
                  }
                },
                "additionalProperties": true,
                "description": "Whop linked resource summary."
              },
              {
                "type": "null"
              }
            ]
          },
          "product": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The unique Whop product identifier."
              },
              "title": {
                "type": "string",
                "minLength": 1,
                "description": "The product display name."
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "Custom metadata stored on the product."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "Product linked to this membership."
          },
          "license_key": {
            "anyOf": [
              {
                "type": "string",
                "description": "Software license key linked to this membership."
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Custom metadata stored on this membership."
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_collection_paused": {
            "type": "boolean",
            "description": "Whether recurring payment collection is paused for this membership."
          },
          "checkout_configuration_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "Checkout configuration identifier that produced this membership."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": true,
        "description": "Whop membership resource."
      }
    },
    {
      "id": "whop.get_product",
      "service": "whop",
      "name": "get_product",
      "description": "Retrieve a Whop product by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop product identifier."
          }
        },
        "additionalProperties": false,
        "description": "Path parameters for retrieving a Whop product."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop product identifier."
          },
          "created_at": {
            "type": "string",
            "description": "The datetime when this product was created.",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "description": "The datetime when this product was last updated.",
            "format": "date-time"
          },
          "title": {
            "anyOf": [
              {
                "type": "string",
                "description": "The product display name."
              },
              {
                "type": "null"
              }
            ]
          },
          "visibility": {
            "anyOf": [
              {
                "type": "string",
                "description": "The product visibility state."
              },
              {
                "type": "null"
              }
            ]
          },
          "headline": {
            "anyOf": [
              {
                "type": "string",
                "description": "The product marketing headline."
              },
              {
                "type": "null"
              }
            ]
          },
          "verified": {
            "type": "boolean",
            "description": "Whether Whop has verified this product."
          },
          "member_count": {
            "type": "number",
            "description": "The active membership count for this product."
          },
          "route": {
            "anyOf": [
              {
                "type": "string",
                "description": "The product public route slug."
              },
              {
                "type": "null"
              }
            ]
          },
          "published_reviews_count": {
            "type": "number",
            "description": "The number of published reviews for this product."
          },
          "external_identifier": {
            "anyOf": [
              {
                "type": "string",
                "description": "External identifier stored on this product."
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Custom metadata stored on this product."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": true,
        "description": "Whop product resource."
      }
    },
    {
      "id": "whop.list_authorized_users",
      "service": "whop",
      "name": "list_authorized_users",
      "description": "List authorized Whop team members with optional company, user, role, date, and cursor filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning resources after this position."
          },
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning resources before this position."
          },
          "first": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of resources to return from the start of the list."
          },
          "last": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of resources to return from the end of the list."
          },
          "company_id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop company identifier."
          },
          "user_id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop user identifier."
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "sales_manager",
              "moderator",
              "advertiser",
              "app_manager",
              "support",
              "manager",
              "custom"
            ],
            "description": "Role assigned to a Whop authorized user."
          },
          "created_before": {
            "type": "string",
            "description": "Only return authorized users created before this timestamp.",
            "format": "date-time"
          },
          "created_after": {
            "type": "string",
            "description": "Only return authorized users created after this timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing Whop authorized users."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The unique Whop authorized user identifier."
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "owner",
                    "admin",
                    "sales_manager",
                    "moderator",
                    "advertiser",
                    "app_manager",
                    "support",
                    "manager",
                    "custom"
                  ],
                  "description": "Role assigned to a Whop authorized user."
                },
                "user": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The unique Whop user identifier."
                    },
                    "username": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The user's public username."
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The user's display name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "email": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The user's email address when the credential has email access."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": true,
                  "description": "Whop user summary."
                },
                "company": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The unique Whop company identifier."
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The company display name."
                    }
                  },
                  "additionalProperties": true,
                  "description": "Company this user can administer."
                }
              },
              "additionalProperties": true,
              "description": "Whop authorized user resource."
            },
            "description": "Authorized users returned by Whop."
          },
          "page_info": {
            "type": "object",
            "properties": {
              "end_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when paginating forward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when paginating backward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "has_next_page": {
                "type": "boolean",
                "description": "Whether more resources are available after this page."
              },
              "has_previous_page": {
                "type": "boolean",
                "description": "Whether more resources are available before this page."
              }
            },
            "additionalProperties": false,
            "description": "Whop cursor pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "Paginated Whop authorized user list response."
      }
    },
    {
      "id": "whop.list_companies",
      "service": "whop",
      "name": "list_companies",
      "description": "List Whop companies accessible to the credential, optionally filtering connected accounts by parent company.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning resources after this position."
          },
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning resources before this position."
          },
          "first": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of resources to return from the start of the list."
          },
          "last": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of resources to return from the end of the list."
          },
          "parent_company_id": {
            "type": "string",
            "minLength": 1,
            "description": "Parent platform company ID for listing connected accounts."
          },
          "direction": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "Sort direction for returned Whop resources."
          },
          "created_before": {
            "type": "string",
            "description": "Only return companies created before this timestamp.",
            "format": "date-time"
          },
          "created_after": {
            "type": "string",
            "description": "Only return companies created after this timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Query parameters for listing Whop companies."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "Whop company resource."
            },
            "description": "Companies returned by Whop."
          },
          "page_info": {
            "type": "object",
            "properties": {
              "end_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when paginating forward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when paginating backward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "has_next_page": {
                "type": "boolean",
                "description": "Whether more resources are available after this page."
              },
              "has_previous_page": {
                "type": "boolean",
                "description": "Whether more resources are available before this page."
              }
            },
            "additionalProperties": false,
            "description": "Whop cursor pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "Paginated Whop company list response."
      }
    },
    {
      "id": "whop.list_memberships",
      "service": "whop",
      "name": "list_memberships",
      "description": "List Whop memberships for a company with optional product, plan, user, status, and cursor filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning resources after this position."
          },
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning resources before this position."
          },
          "first": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of resources to return from the start of the list."
          },
          "last": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of resources to return from the end of the list."
          },
          "company_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Whop company identifier. Required when using an API key."
          },
          "direction": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "Sort direction for returned Whop resources."
          },
          "order": {
            "type": "string",
            "enum": [
              "id",
              "created_at",
              "status",
              "canceled_at",
              "date_joined",
              "total_spend"
            ],
            "description": "Sortable Whop membership column."
          },
          "product_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Whop product identifier."
            },
            "description": "Product identifiers to filter memberships by.",
            "minItems": 1
          },
          "statuses": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "trialing",
                "active",
                "past_due",
                "completed",
                "canceled",
                "expired",
                "unresolved",
                "drafted",
                "canceling"
              ],
              "description": "Whop membership lifecycle status."
            },
            "description": "Membership statuses to include.",
            "minItems": 1
          },
          "cancel_options": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "too_expensive",
                "switching",
                "missing_features",
                "technical_issues",
                "bad_experience",
                "other",
                "testing"
              ],
              "description": "Whop membership cancellation reason."
            },
            "description": "Cancellation reasons to filter memberships by.",
            "minItems": 1
          },
          "plan_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Whop plan identifier."
            },
            "description": "Plan identifiers to filter memberships by.",
            "minItems": 1
          },
          "user_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Whop user identifier."
            },
            "description": "User identifiers to filter memberships by.",
            "minItems": 1
          },
          "promo_code_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Whop promo code identifier."
            },
            "description": "Promo code identifiers to filter memberships by.",
            "minItems": 1
          },
          "created_before": {
            "type": "string",
            "description": "Only return memberships created before this timestamp.",
            "format": "date-time"
          },
          "created_after": {
            "type": "string",
            "description": "Only return memberships created after this timestamp.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "company_id"
        ],
        "description": "Query parameters for listing Whop memberships."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The unique Whop membership identifier."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "trialing",
                    "active",
                    "past_due",
                    "completed",
                    "canceled",
                    "expired",
                    "unresolved",
                    "drafted",
                    "canceling"
                  ],
                  "description": "Whop membership lifecycle status."
                },
                "created_at": {
                  "type": "string",
                  "description": "The datetime when this membership was created.",
                  "format": "date-time"
                },
                "joined_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The datetime when the user joined the company.",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updated_at": {
                  "type": "string",
                  "description": "The datetime when this membership was last updated.",
                  "format": "date-time"
                },
                "manage_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "URL where the customer can manage this membership."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "member": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "description": "The unique Whop resource identifier."
                        }
                      },
                      "additionalProperties": true,
                      "description": "Whop linked resource summary."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "user": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "description": "The unique Whop user identifier."
                        },
                        "username": {
                          "type": "string",
                          "minLength": 1,
                          "description": "The user's public username."
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The user's display name."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "email": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The user's email address when the credential has email access."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": true,
                      "description": "Whop user summary."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cancel_at_period_end": {
                  "type": "boolean",
                  "description": "Whether this membership will cancel at period end."
                },
                "cancel_option": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "too_expensive",
                        "switching",
                        "missing_features",
                        "technical_issues",
                        "bad_experience",
                        "other",
                        "testing"
                      ],
                      "description": "Whop membership cancellation reason."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cancellation_reason": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Free-text cancellation reason."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "canceled_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The datetime when this membership was canceled.",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currency": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The membership billing currency."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The unique Whop company identifier."
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The company display name."
                    }
                  },
                  "additionalProperties": true,
                  "description": "Company linked to this membership."
                },
                "plan": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The unique Whop plan identifier."
                    },
                    "metadata": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "Custom metadata stored on the plan."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": true,
                  "description": "Plan linked to this membership."
                },
                "promo_code": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "description": "The unique Whop resource identifier."
                        }
                      },
                      "additionalProperties": true,
                      "description": "Whop linked resource summary."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "product": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The unique Whop product identifier."
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The product display name."
                    },
                    "metadata": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "Custom metadata stored on the product."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": true,
                  "description": "Product linked to this membership."
                },
                "license_key": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Software license key linked to this membership."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "metadata": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Custom metadata stored on this membership."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "payment_collection_paused": {
                  "type": "boolean",
                  "description": "Whether recurring payment collection is paused for this membership."
                },
                "checkout_configuration_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Checkout configuration identifier that produced this membership."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "Whop membership resource."
            },
            "description": "Memberships returned by Whop."
          },
          "page_info": {
            "type": "object",
            "properties": {
              "end_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when paginating forward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when paginating backward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "has_next_page": {
                "type": "boolean",
                "description": "Whether more resources are available after this page."
              },
              "has_previous_page": {
                "type": "boolean",
                "description": "Whether more resources are available before this page."
              }
            },
            "additionalProperties": false,
            "description": "Whop cursor pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "Paginated Whop membership list response."
      }
    },
    {
      "id": "whop.list_products",
      "service": "whop",
      "name": "list_products",
      "description": "List Whop products belonging to a company with optional visibility, type, sort, and cursor filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "company_id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique Whop company identifier."
          },
          "visibilities": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One product visibility state."
            },
            "description": "Product visibility states to include.",
            "minItems": 1
          },
          "access_pass_types": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One product access pass type."
            },
            "description": "Product access pass types to include.",
            "minItems": 1
          },
          "direction": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "Sort direction for returned Whop resources."
          },
          "order": {
            "type": "string",
            "minLength": 1,
            "description": "Product field to sort by. Defaults to created_at."
          },
          "first": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Number of products to return. Default and max is 100."
          },
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning products after this position."
          },
          "last": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of products to return from the end of the range."
          },
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "Cursor for returning products before this position."
          }
        },
        "additionalProperties": false,
        "required": [
          "company_id"
        ],
        "description": "Query parameters for listing Whop products."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The unique Whop product identifier."
                },
                "created_at": {
                  "type": "string",
                  "description": "The datetime when this product was created.",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "string",
                  "description": "The datetime when this product was last updated.",
                  "format": "date-time"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The product display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "visibility": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The product visibility state."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "headline": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The product marketing headline."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "verified": {
                  "type": "boolean",
                  "description": "Whether Whop has verified this product."
                },
                "member_count": {
                  "type": "number",
                  "description": "The active membership count for this product."
                },
                "route": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The product public route slug."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_reviews_count": {
                  "type": "number",
                  "description": "The number of published reviews for this product."
                },
                "external_identifier": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "External identifier stored on this product."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "metadata": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Custom metadata stored on this product."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "Whop product resource."
            },
            "description": "Products returned by Whop."
          },
          "page_info": {
            "type": "object",
            "properties": {
              "end_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when paginating forward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_cursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when paginating backward."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "has_next_page": {
                "type": "boolean",
                "description": "Whether more resources are available after this page."
              },
              "has_previous_page": {
                "type": "boolean",
                "description": "Whether more resources are available before this page."
              }
            },
            "additionalProperties": false,
            "description": "Whop cursor pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "Paginated Whop product list response."
      }
    }
  ]
}
