You're viewing a demo portfolio

Join the waitlist
PRSM

clerk.create_actor_token

Active

Tool of Vee3

declared in 1.27.1

Create an actor token that lets one user impersonate another in a connected Clerk application. **Sensitive** — the returned token is a high-privilege secret that grants impersonation access; do not log or expose it. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Cost = 15 tokens.

Parameters schema

{
  "type": "object",
  "title": "create_clerk_actor_tokenArguments",
  "required": [
    "user_id",
    "actor_sub"
  ],
  "properties": {
    "user_id": {
      "type": "string",
      "title": "User Id",
      "description": "Clerk user id (user_...) of the user being impersonated."
    },
    "actor_sub": {
      "type": "string",
      "title": "Actor Sub",
      "description": "Clerk user id (user_...) of the impersonating actor (maps to actor.sub)."
    },
    "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."
    },
    "expires_in_seconds": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires In Seconds",
      "default": null,
      "description": "Actor token lifetime in seconds (minimum 1). Defaults to 3600 (1 hour)."
    },
    "session_max_duration_in_seconds": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Max Duration In Seconds",
      "default": null,
      "description": "Maximum duration in seconds for the session created from this token (minimum 1). Defaults to 1800 (30 minutes)."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Vee3

https://github.com/Vee3io/Vee3

1/7 registries
View full server →