GET

/v1/schemas/fal/audio/xai/grok-voice

kind inputactivity audiohash 27628155…extracted Nov 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
b1ffdf559aef2a90b567b048e89e9f51a7b306a88460e92bf2163c2287257789
{
  "fetchedAt": 1794286801,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

5 properties · 1 required · 5 $defs
propertytypedescriptionconstraints
audio_url*stringURL of the audio containing the user's speech. The Grok agent listens to it and replies with speech. Most common audio formats are supported; the audio is converted to 16-bit 24 kHz mono PCM before being sent to Grok. Maximum duration 10 minutes, maximum file …
voiceenumBuilt-in xAI voice for the agent's reply. Uses Grok's default voice when omitted.carina | zagan | helix | orion | luna | iris · +22 more · nullable
promptstringOptional system instructions describing the agent's persona and conversation context. Uses Grok's default persona when omitted.length ≤ 20000 · nullable
toolsGrokToolsConfigurationServer-side tools available to the agent. Web, X, and remote MCP tools are supported; every tool is disabled by default. file_search/collections are unsupported by the typed configuration due to ZDR.
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.default: true

Types

5 $defs

GrokRemoteMCPToolobject

A caller-selected remote MCP server that xAI will connect to.

server_descriptionstringDescription of the capabilities exposed by this server.length ≤ 2000 · nullable
server_url*stringCaller-selected HTTP(S) MCP endpoint. xAI makes the remote connection and supports Streaming HTTP/SSE transports. Use at your own risk; fal does not connect to or SSRF-fetch this URL.length ≥ 1 · format: uri
authorizationstringSensitive authorization value forwarded only to xAI.format: password · nullable
enabledbooleanFalse omits this server.default: true
server_label*stringLabel xAI uses to identify and prefix this server's tools.length ≥ 1 · length ≤ 128
allowed_toolsstring[]Optional allow-list of tool names exposed from this server.items ≥ 1 · nullable
headersobjectSensitive MCP request headers forwarded only to xAI.nullable

GrokSearchLocationobject

citystringCity used to localize web-search results.length ≥ 1 · length ≤ 128 · nullable
timezonestringIANA timezone name, for example America/New_York.length ≥ 1 · length ≤ 128 · nullable
countrystringCountry used to localize web-search results.length ≥ 1 · length ≤ 128 · nullable
regionstringRegion used to localize web-search results.length ≥ 1 · length ≤ 128 · nullable

GrokToolsConfigurationobject

Typed xAI tools supported by this app's convenience configuration.

x_searchGrokXSearchToolxAI-managed X search; off unless enabled is set true.
mcp_serversGrokRemoteMCPTool[]Remote MCP servers that xAI connects to and executes.
web_searchGrokWebSearchToolxAI-managed web search; off unless enabled is set true.

GrokWebSearchToolobject

Configuration for one xAI web_search tool declaration.

enable_image_understandingbooleanAllow the agent to inspect images found during web search.nullable
enabledbooleanWhether to include web_search in session.tools. Disabled by default; set true to let the agent search the web.default: false
excluded_domainsstring[]Exclude results from at most five domains, without protocol or path.items ≥ 1 · items ≤ 5 · nullable
allowed_domainsstring[]Restrict results to at most five domains, without protocol or path.items ≥ 1 · items ≤ 5 · nullable
locationGrokSearchLocationOptional location used to localize search results.nullable

GrokXSearchToolobject

Configuration for one xAI x_search tool declaration.

excluded_x_handlesstring[]Exclude posts from at most 20 X handles.items ≥ 1 · items ≤ 20 · nullable
enable_image_understandingbooleanAllow the agent to inspect images found on X.nullable
from_datestringEarliest post date, as ISO YYYY-MM-DD.format: date · nullable
enabledbooleanWhether to include x_search in session.tools. Disabled by default; set true to let the agent search X posts.default: false
enable_video_understandingbooleanAllow the agent to inspect videos found on X.nullable
to_datestringLatest post date, as ISO YYYY-MM-DD.format: date · nullable
allowed_x_handlesstring[]Restrict results to posts from at most 20 X handles.items ≥ 1 · items ≤ 20 · nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"xai/grok-voice","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}