Create or rotate the live stream secret
create_stream_secretCreate the secret that signs the live audio stream tokens of make_call with stream. Your server verifies the Authorization: Bearer JWT (HS256) that volai sends when it connects, using this secret. The secret is shown only once in the result, so save it right away; get_stream_secret_status never returns it. Creating a new secret rotates the old one: it stops being used for new calls immediately, so update your server first or right after. Free of charge. Same data as POST /v1/stream-secret (response schema in /openapi.json).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_stream_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||