get_viasocket_embed_secret
Gets the viaSocket organization's embed signing secret (VIASOCKET_EMBED_SECRET) into the developer's .env encrypted, so you never see it. Use it in SDK setup. Get orgId with get_org_details_by_token first. Before calling, run docstar-cli key request in the project folder and pass its publicKey; then run the save command this tool returns, then its emit command (the developer can choose another .env file). Never ask for, print or repeat the secret.
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": {
"publicKey": "<publicKey>",
"orgId": "<orgId>"
},
"name": "get_viasocket_embed_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | The orgId the key is created for | |
| publicKey | Yes | The publicKey printed by `docstar-cli key request`, exactly as printed |