clerk.create_session
ActiveTool of Vee3
Create a new session for a Clerk user in a connected Clerk application. 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 created session object with id, user_id, status, last_active_at, expire_at, client_id, created_at, and updated_at. Cost = 10 tokens.
Parameters schema
{
"type": "object",
"title": "create_clerk_sessionArguments",
"required": [
"user_id"
],
"properties": {
"user_id": {
"type": "string",
"title": "User Id",
"description": "Clerk user id (user_...) to create a session for."
},
"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."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries