Create connection token
create_connection_tokenMint a short-lived connection token for one participant to join a session from a browser — for trying the integration locally. In production the app’s server mints these with its own key. (Requires scope mcp:write.)
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": {
"session_id": "<session_id>",
"user_id": "<user_id>"
},
"name": "create_connection_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | live | |
| user_id | Yes | Participant id: letters, digits, dash, underscore. | |
| session_id | Yes |