Get single sign-on code
get_sso_snippetServer-side code for the project's stack that signs a single sign-on token for the signed-in staff member and redirects them to Live Chat, with this workspace's ID filled in. Adapt it to the project's user model and permission checks.
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": {
"stack": "<stack>"
},
"name": "get_sso_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embed | No | Also return the code that shows the inbox inside the admin panel (Team and Business). | |
| stack | Yes | The project's language or framework. |