clerk.update_organization_membership_metadata
Merge public or private metadata on a Clerk organization membership.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the updated membership.
Cost = 8 tokens.
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": {
"organization_id": "<organization_id>",
"user_id": "<user_id>"
},
"name": "clerk.update_organization_membership_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Clerk user id (user_...) of the member. | |
| organization_id | Yes | Clerk organization id (org_...) containing the membership. | |
| public_metadata | No | Public metadata to merge into the membership. | |
| private_metadata | No | Private metadata to merge into the membership. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| membership | No | Updated organization membership. |