Create restricted server key
create_server_keyMint a restricted server key (rk_live_…) for one project, for the app’s server-side environment. It can only create sessions, mint connection tokens and read manifests in that project. The secret is returned once: write it to a gitignored env file, never to browser code or a commit. (Requires scope keys:mint.)
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": {
"project_id": "<project_id>"
},
"name": "create_server_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| project_id | Yes |