openai_create_realtime_client_secret
Creates a short-lived Realtime client secret for client-side sessions while keeping the main API key private. Use it to authenticate Realtime connections without exposing primary credentials.
Instructions
Create a short-lived Realtime client secret. The main API key is never returned.
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": "openai_create_realtime_client_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | gpt-realtime-2.1 | |
| session_json | No | ||
| session_type | No | ||
| safety_identifier | No | ||
| expires_in_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||