52 "xai-docs": {52 "xai-docs": {
53 "type": "remote",53 "type": "remote",
54 "url": "https://docs.x.ai/api/mcp",54 "url": "https://docs.x.ai/api/mcp",
55 "enabled": true,55 "enabled": true
56 },56 }
57 },57 }
58}58}
59```59```
60 60
1092| `item.type` | Yes | — | Must be `"force_message"` |1092| `item.type` | Yes | — | Must be `"force_message"` |
1093| `item.content[].text` | Yes | — | Verbatim text to synthesize via TTS |1093| `item.content[].text` | Yes | — | Verbatim text to synthesize via TTS |
1094| `item.interruptible` | No | `true` | When `false`, caller audio is dropped until playback completes |1094| `item.interruptible` | No | `true` | When `false`, caller audio is dropped until playback completes |
1095| `item.voice` | No | Session voice | Per-utterance voice override |
1096 1095
1097The server injects a full response lifecycle (`response.created` → `response.output_audio.delta` → `response.done`) so the force message appears to clients like a normal model turn.1096The server injects a full response lifecycle (`response.created` → `response.output_audio.delta` → `response.done`) so the force message appears to clients like a normal model turn.
1098 1097
112 "messages": [112 "messages": [
113 {113 {
114 "role": "system",114 "role": "system",
115 "content": "You are Grok, a chatbot inspired by the Hitchhiker's Guide to the Galaxy."115 "content": "You are Grok, a chatbot inspired by the Hitchhiker'\''s Guide to the Galaxy."
116 },116 },
117 {117 {
118 "role": "user",118 "role": "user",
115 "messages": [115 "messages": [
116 {116 {
117 "role": "system",117 "role": "system",
118 "content": "You are Grok, a chatbot inspired by the Hitchhiker's Guide to the Galaxy."118 "content": "You are Grok, a chatbot inspired by the Hitchhiker'\\''s Guide to the Galaxy."
119 },119 },
120 {120 {
121 "role": "user",121 "role": "user",