{
  "service": "workos",
  "displayName": "WorkOS",
  "categories": [
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "WORKOS_API_KEY",
      "description": "WorkOS secret API key sent as a Bearer token. View and manage keys in the WorkOS Dashboard: https://dashboard.workos.com/api-keys."
    }
  ],
  "homepageUrl": "https://workos.com",
  "actions": [
    {
      "id": "workos.create_organization",
      "service": "workos",
      "name": "create_organization",
      "description": "Create a WorkOS organization in the current environment.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the organization."
          },
          "allow_profiles_outside_organization": {
            "type": "boolean",
            "description": "Whether the organization allows profiles from outside the organization to sign in."
          },
          "domain_data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string",
                  "description": "The organization domain name."
                },
                "state": {
                  "type": "string",
                  "description": "The domain verification state."
                }
              },
              "additionalProperties": true,
              "description": "WorkOS organization domain data."
            },
            "description": "Domains associated with the organization, including verification state."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "description": "Metadata key/value pairs associated with the resource."
          },
          "external_id": {
            "type": "string",
            "minLength": 1,
            "description": "An external identifier for the organization."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "Input parameters for creating a WorkOS organization."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "Unique identifier of the organization."
              },
              "name": {
                "type": "string",
                "description": "A descriptive name for the organization."
              },
              "domains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "Organization domain."
                },
                "description": "Domains associated with the organization."
              },
              "metadata": {
                "type": "object",
                "additionalProperties": true,
                "description": "Metadata key/value pairs associated with the resource."
              },
              "external_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The external ID of the organization."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "description": "The timestamp when the organization was created."
              },
              "updated_at": {
                "type": "string",
                "description": "The timestamp when the organization was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization",
          "raw"
        ],
        "description": "A WorkOS organization response."
      }
    },
    {
      "id": "workos.create_organization_membership",
      "service": "workos",
      "name": "create_organization_membership",
      "description": "Create an active WorkOS organization membership for a user and organization.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of the user."
          },
          "organization_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of the organization which the user belongs to."
          },
          "role_slug": {
            "type": "string",
            "minLength": 1,
            "description": "A single role identifier."
          },
          "role_slugs": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A role identifier."
            },
            "description": "Role identifiers to assign to the user."
          }
        },
        "additionalProperties": false,
        "required": [
          "user_id",
          "organization_id"
        ],
        "description": "Input parameters for creating a WorkOS organization membership."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization_membership": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the organization membership."
              },
              "userId": {
                "type": "string",
                "description": "The ID of the WorkOS user."
              },
              "organizationId": {
                "type": "string",
                "description": "The ID of the WorkOS organization."
              },
              "organizationName": {
                "type": "string",
                "description": "The name of the WorkOS organization."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "inactive",
                  "pending"
                ],
                "description": "A WorkOS organization membership status."
              },
              "createdAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was created."
              },
              "updatedAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization membership object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization_membership",
          "raw"
        ],
        "description": "A WorkOS organization membership response."
      }
    },
    {
      "id": "workos.create_user",
      "service": "workos",
      "name": "create_user",
      "description": "Create a WorkOS AuthKit user in the current environment.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email address of the user.",
            "format": "email"
          },
          "first_name": {
            "type": "string",
            "minLength": 1,
            "description": "The first name of the user."
          },
          "last_name": {
            "type": "string",
            "minLength": 1,
            "description": "The last name of the user."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The user's full name."
          },
          "email_verified": {
            "type": "boolean",
            "description": "Whether the user's email address was previously verified."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "description": "Metadata key/value pairs associated with the resource."
          },
          "external_id": {
            "type": "string",
            "minLength": 1,
            "description": "The external identifier of the user."
          },
          "password": {
            "type": "string",
            "minLength": 1,
            "description": "The password to set for the user."
          }
        },
        "additionalProperties": false,
        "required": [
          "email"
        ],
        "description": "Input parameters for creating a WorkOS user."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the user."
              },
              "email": {
                "type": "string",
                "description": "The email address of the user."
              },
              "first_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The first name of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The last name of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user's full name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "email_verified": {
                "type": "boolean",
                "description": "Whether the user's email has been verified."
              },
              "external_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The external ID of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "type": "object",
                "additionalProperties": true,
                "description": "Metadata key/value pairs associated with the resource."
              },
              "created_at": {
                "type": "string",
                "description": "An ISO 8601 timestamp for when the user was created."
              },
              "updated_at": {
                "type": "string",
                "description": "An ISO 8601 timestamp for when the user was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS user object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "user",
          "raw"
        ],
        "description": "A WorkOS user response."
      }
    },
    {
      "id": "workos.deactivate_organization_membership",
      "service": "workos",
      "name": "deactivate_organization_membership",
      "description": "Deactivate an active WorkOS organization membership.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique ID of the organization membership."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for deactivating a WorkOS organization membership."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization_membership": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the organization membership."
              },
              "userId": {
                "type": "string",
                "description": "The ID of the WorkOS user."
              },
              "organizationId": {
                "type": "string",
                "description": "The ID of the WorkOS organization."
              },
              "organizationName": {
                "type": "string",
                "description": "The name of the WorkOS organization."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "inactive",
                  "pending"
                ],
                "description": "A WorkOS organization membership status."
              },
              "createdAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was created."
              },
              "updatedAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization membership object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization_membership",
          "raw"
        ],
        "description": "A WorkOS organization membership response."
      }
    },
    {
      "id": "workos.get_organization",
      "service": "workos",
      "name": "get_organization",
      "description": "Get a WorkOS organization by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Unique identifier of the organization."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for getting a WorkOS organization."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "Unique identifier of the organization."
              },
              "name": {
                "type": "string",
                "description": "A descriptive name for the organization."
              },
              "domains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "Organization domain."
                },
                "description": "Domains associated with the organization."
              },
              "metadata": {
                "type": "object",
                "additionalProperties": true,
                "description": "Metadata key/value pairs associated with the resource."
              },
              "external_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The external ID of the organization."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "description": "The timestamp when the organization was created."
              },
              "updated_at": {
                "type": "string",
                "description": "The timestamp when the organization was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization",
          "raw"
        ],
        "description": "A WorkOS organization response."
      }
    },
    {
      "id": "workos.get_organization_membership",
      "service": "workos",
      "name": "get_organization_membership",
      "description": "Get a WorkOS organization membership by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique ID of the organization membership."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for getting a WorkOS organization membership."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization_membership": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the organization membership."
              },
              "userId": {
                "type": "string",
                "description": "The ID of the WorkOS user."
              },
              "organizationId": {
                "type": "string",
                "description": "The ID of the WorkOS organization."
              },
              "organizationName": {
                "type": "string",
                "description": "The name of the WorkOS organization."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "inactive",
                  "pending"
                ],
                "description": "A WorkOS organization membership status."
              },
              "createdAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was created."
              },
              "updatedAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization membership object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization_membership",
          "raw"
        ],
        "description": "A WorkOS organization membership response."
      }
    },
    {
      "id": "workos.get_user",
      "service": "workos",
      "name": "get_user",
      "description": "Get a WorkOS AuthKit user by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique ID of the user."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for getting a WorkOS user."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the user."
              },
              "email": {
                "type": "string",
                "description": "The email address of the user."
              },
              "first_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The first name of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The last name of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user's full name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "email_verified": {
                "type": "boolean",
                "description": "Whether the user's email has been verified."
              },
              "external_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The external ID of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "type": "object",
                "additionalProperties": true,
                "description": "Metadata key/value pairs associated with the resource."
              },
              "created_at": {
                "type": "string",
                "description": "An ISO 8601 timestamp for when the user was created."
              },
              "updated_at": {
                "type": "string",
                "description": "An ISO 8601 timestamp for when the user was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS user object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "user",
          "raw"
        ],
        "description": "A WorkOS user response."
      }
    },
    {
      "id": "workos.list_organization_memberships",
      "service": "workos",
      "name": "list_organization_memberships",
      "description": "List WorkOS organization memberships filtered by user, organization, or membership status.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "An object ID that defines the cursor position before the requested page."
          },
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "An object ID that defines the cursor position after the requested page."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Upper limit on the number of objects to return, between 1 and 100."
          },
          "order": {
            "type": "string",
            "enum": [
              "normal",
              "desc",
              "asc"
            ],
            "description": "Order the results by creation time."
          },
          "organization_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of the organization which the user belongs to."
          },
          "user_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of the user."
          },
          "statuses": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "inactive",
                "pending"
              ],
              "description": "A WorkOS organization membership status."
            },
            "description": "Statuses to include in the membership list."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing WorkOS organization memberships."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization_memberships": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "description": "Object type returned by WorkOS."
                },
                "id": {
                  "type": "string",
                  "description": "The unique ID of the organization membership."
                },
                "userId": {
                  "type": "string",
                  "description": "The ID of the WorkOS user."
                },
                "organizationId": {
                  "type": "string",
                  "description": "The ID of the WorkOS organization."
                },
                "organizationName": {
                  "type": "string",
                  "description": "The name of the WorkOS organization."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "inactive",
                    "pending"
                  ],
                  "description": "A WorkOS organization membership status."
                },
                "createdAt": {
                  "type": "string",
                  "description": "The timestamp when the organization membership was created."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "The timestamp when the organization membership was last updated."
                }
              },
              "additionalProperties": true,
              "description": "WorkOS organization membership object."
            },
            "description": "Organization memberships returned by WorkOS."
          },
          "list_metadata": {
            "type": "object",
            "properties": {
              "before": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when returned by WorkOS."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "after": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when returned by WorkOS."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "WorkOS pagination metadata returned for a list request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization_memberships",
          "list_metadata",
          "raw"
        ],
        "description": "A page of WorkOS organization memberships."
      }
    },
    {
      "id": "workos.list_organizations",
      "service": "workos",
      "name": "list_organizations",
      "description": "List WorkOS organizations with optional cursor, domain, and text filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "An object ID that defines the cursor position before the requested page."
          },
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "An object ID that defines the cursor position after the requested page."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Upper limit on the number of objects to return, between 1 and 100."
          },
          "order": {
            "type": "string",
            "enum": [
              "normal",
              "desc",
              "asc"
            ],
            "description": "Order the results by creation time."
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A domain name."
            },
            "description": "Domains to match against organizations."
          },
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search text matched against organization names."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing WorkOS organizations."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "description": "Object type returned by WorkOS."
                },
                "id": {
                  "type": "string",
                  "description": "Unique identifier of the organization."
                },
                "name": {
                  "type": "string",
                  "description": "A descriptive name for the organization."
                },
                "domains": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "Organization domain."
                  },
                  "description": "Domains associated with the organization."
                },
                "metadata": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Metadata key/value pairs associated with the resource."
                },
                "external_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The external ID of the organization."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "description": "The timestamp when the organization was created."
                },
                "updated_at": {
                  "type": "string",
                  "description": "The timestamp when the organization was last updated."
                }
              },
              "additionalProperties": true,
              "description": "WorkOS organization object."
            },
            "description": "Organizations returned by WorkOS."
          },
          "list_metadata": {
            "type": "object",
            "properties": {
              "before": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when returned by WorkOS."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "after": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when returned by WorkOS."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "WorkOS pagination metadata returned for a list request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organizations",
          "list_metadata",
          "raw"
        ],
        "description": "A page of WorkOS organizations."
      }
    },
    {
      "id": "workos.list_users",
      "service": "workos",
      "name": "list_users",
      "description": "List WorkOS AuthKit users with optional cursor and identity filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "before": {
            "type": "string",
            "minLength": 1,
            "description": "An object ID that defines the cursor position before the requested page."
          },
          "after": {
            "type": "string",
            "minLength": 1,
            "description": "An object ID that defines the cursor position after the requested page."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Upper limit on the number of objects to return, between 1 and 100."
          },
          "order": {
            "type": "string",
            "enum": [
              "normal",
              "desc",
              "asc"
            ],
            "description": "Order the results by creation time."
          },
          "organization_id": {
            "type": "string",
            "minLength": 1,
            "description": "Filter users by the organization they are members of."
          },
          "email": {
            "type": "string",
            "minLength": 1,
            "description": "Filter users by their email address."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing WorkOS users."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "description": "Object type returned by WorkOS."
                },
                "id": {
                  "type": "string",
                  "description": "The unique ID of the user."
                },
                "email": {
                  "type": "string",
                  "description": "The email address of the user."
                },
                "first_name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The first name of the user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "last_name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The last name of the user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The user's full name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "email_verified": {
                  "type": "boolean",
                  "description": "Whether the user's email has been verified."
                },
                "external_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The external ID of the user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "metadata": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Metadata key/value pairs associated with the resource."
                },
                "created_at": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp for when the user was created."
                },
                "updated_at": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp for when the user was last updated."
                }
              },
              "additionalProperties": true,
              "description": "WorkOS user object."
            },
            "description": "Users returned by WorkOS."
          },
          "list_metadata": {
            "type": "object",
            "properties": {
              "before": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the previous page when returned by WorkOS."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "after": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page when returned by WorkOS."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "WorkOS pagination metadata returned for a list request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "users",
          "list_metadata",
          "raw"
        ],
        "description": "A page of WorkOS users."
      }
    },
    {
      "id": "workos.reactivate_organization_membership",
      "service": "workos",
      "name": "reactivate_organization_membership",
      "description": "Reactivate an inactive WorkOS organization membership.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique ID of the organization membership."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for reactivating a WorkOS organization membership."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization_membership": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the organization membership."
              },
              "userId": {
                "type": "string",
                "description": "The ID of the WorkOS user."
              },
              "organizationId": {
                "type": "string",
                "description": "The ID of the WorkOS organization."
              },
              "organizationName": {
                "type": "string",
                "description": "The name of the WorkOS organization."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "inactive",
                  "pending"
                ],
                "description": "A WorkOS organization membership status."
              },
              "createdAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was created."
              },
              "updatedAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization membership object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization_membership",
          "raw"
        ],
        "description": "A WorkOS organization membership response."
      }
    },
    {
      "id": "workos.update_organization",
      "service": "workos",
      "name": "update_organization",
      "description": "Update properties of an existing WorkOS organization.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Unique identifier of the organization."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the organization."
          },
          "allow_profiles_outside_organization": {
            "type": "boolean",
            "description": "Whether the organization allows profiles from outside the organization to sign in."
          },
          "domain_data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string",
                  "description": "The organization domain name."
                },
                "state": {
                  "type": "string",
                  "description": "The domain verification state."
                }
              },
              "additionalProperties": true,
              "description": "WorkOS organization domain data."
            },
            "description": "Domains associated with the organization, including verification state."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "description": "Metadata key/value pairs associated with the resource."
          },
          "external_id": {
            "type": "string",
            "minLength": 1,
            "description": "An external identifier for the organization."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for updating a WorkOS organization."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "Unique identifier of the organization."
              },
              "name": {
                "type": "string",
                "description": "A descriptive name for the organization."
              },
              "domains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "Organization domain."
                },
                "description": "Domains associated with the organization."
              },
              "metadata": {
                "type": "object",
                "additionalProperties": true,
                "description": "Metadata key/value pairs associated with the resource."
              },
              "external_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The external ID of the organization."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "description": "The timestamp when the organization was created."
              },
              "updated_at": {
                "type": "string",
                "description": "The timestamp when the organization was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization",
          "raw"
        ],
        "description": "A WorkOS organization response."
      }
    },
    {
      "id": "workos.update_organization_membership",
      "service": "workos",
      "name": "update_organization_membership",
      "description": "Update roles on an existing WorkOS organization membership.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique ID of the organization membership."
          },
          "role_slug": {
            "type": "string",
            "minLength": 1,
            "description": "A single role identifier."
          },
          "role_slugs": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A role identifier."
            },
            "description": "Role identifiers to assign to the user."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for updating a WorkOS organization membership."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization_membership": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the organization membership."
              },
              "userId": {
                "type": "string",
                "description": "The ID of the WorkOS user."
              },
              "organizationId": {
                "type": "string",
                "description": "The ID of the WorkOS organization."
              },
              "organizationName": {
                "type": "string",
                "description": "The name of the WorkOS organization."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "inactive",
                  "pending"
                ],
                "description": "A WorkOS organization membership status."
              },
              "createdAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was created."
              },
              "updatedAt": {
                "type": "string",
                "description": "The timestamp when the organization membership was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS organization membership object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "organization_membership",
          "raw"
        ],
        "description": "A WorkOS organization membership response."
      }
    },
    {
      "id": "workos.update_user",
      "service": "workos",
      "name": "update_user",
      "description": "Update properties of an existing WorkOS AuthKit user.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The unique ID of the user."
          },
          "first_name": {
            "type": "string",
            "minLength": 1,
            "description": "The first name of the user."
          },
          "last_name": {
            "type": "string",
            "minLength": 1,
            "description": "The last name of the user."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The user's full name."
          },
          "email_verified": {
            "type": "boolean",
            "description": "Whether the user's email address was previously verified."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "description": "Metadata key/value pairs associated with the resource."
          },
          "external_id": {
            "type": "string",
            "minLength": 1,
            "description": "The external identifier of the user."
          },
          "password": {
            "type": "string",
            "minLength": 1,
            "description": "The password to set for the user."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for updating a WorkOS user."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by WorkOS."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the user."
              },
              "email": {
                "type": "string",
                "description": "The email address of the user."
              },
              "first_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The first name of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The last name of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user's full name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "email_verified": {
                "type": "boolean",
                "description": "Whether the user's email has been verified."
              },
              "external_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The external ID of the user."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "type": "object",
                "additionalProperties": true,
                "description": "Metadata key/value pairs associated with the resource."
              },
              "created_at": {
                "type": "string",
                "description": "An ISO 8601 timestamp for when the user was created."
              },
              "updated_at": {
                "type": "string",
                "description": "An ISO 8601 timestamp for when the user was last updated."
              }
            },
            "additionalProperties": true,
            "description": "WorkOS user object."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "Raw WorkOS response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "user",
          "raw"
        ],
        "description": "A WorkOS user response."
      }
    }
  ]
}
