You're viewing a demo portfolio

Join the waitlist
PRSM

clerk.replace_user_metadata

Active

Tool of Vee3

declared in 1.27.1

Replace the entire contents of one metadata namespace for a Clerk user. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. The metadata body fully replaces the chosen namespace. Returns the updated user summary. Cost = 8 tokens.

Parameters schema

{
  "type": "object",
  "title": "replace_clerk_user_metadataArguments",
  "required": [
    "user_id",
    "metadata_type",
    "metadata"
  ],
  "properties": {
    "user_id": {
      "type": "string",
      "title": "User Id",
      "description": "Clerk user id (user_...) whose metadata to replace."
    },
    "metadata": {
      "type": "object",
      "title": "Metadata",
      "description": "New metadata dict that fully replaces the chosen namespace. Pass an empty object to clear all keys.",
      "additionalProperties": true
    },
    "metadata_type": {
      "type": "string",
      "title": "Metadata Type",
      "description": "Metadata namespace to replace."
    },
    "clerk_instance_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Clerk Instance Id",
      "default": null,
      "description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Vee3

https://github.com/Vee3io/Vee3

1/7 registries
View full server →