List organizations
list_organizationsList or search organizations in an application instance, with pagination and a total count. Filters match the Backend API organization list. Private metadata is never returned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"application_id": "<application_id>",
"instance": "<instance>"
},
"name": "list_organizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by organization name. | |
| slug | No | Filter by organization slug. | |
| limit | No | Maximum organizations to return (default 10). | |
| query | No | Exact organization ID, or partial name or slug. | |
| offset | No | Organizations to skip before returning results. | |
| user_id | No | Filter by member user IDs; prefix an ID with - to exclude it. | |
| instance | Yes | Instance to target: "development", "production", or a full instance ID (ins_…). | |
| order_by | No | Sort by name, created_at, updated_at, last_active_at, or members_count. Prefix with - for descending (default -created_at). | |
| filter_by | No | Choose one filter. The missing-member filter requires include_missing_member_with_elevated_permissions=true. | |
| application_id | Yes | Clerk application ID (app_…). | |
| organization_id | No | Organization IDs to include; prefix an ID with - to exclude it. | |
| created_at_after | No | Creation lower bound as a Unix timestamp in milliseconds. | |
| created_at_before | No | Creation cutoff as a Unix timestamp in milliseconds. | |
| include_members_count | No | Include each organization's member count. | |
| include_missing_member_with_elevated_permissions | No | Include whether each organization lacks a member with elevated permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| total_count | Yes |