create_user_session
Creates a user session using a credential token from an active provision. Returns a session token for subsequent API calls on behalf of that user.
Instructions
Creates a session on behalf of a provisioned user using their credential.token_value (obtained from get_provision when status=ACTIVE). Returns a session token and UserApiKey.id — use this session token for all subsequent calls on behalf of that user. Must be called within 1h (sandbox) / 4h (production) of the token being issued.
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": {
"credential_token": "<credential_token>"
},
"name": "create_user_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credential_token | Yes | The credential.token_value from the ACTIVE provision. |