Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Chat Completion
GROK_CREATE_CHAT_COMPLETIONUse xAI's legacy Chat Completions messages/choices contract for compatibility workflows. Prefer GROK_CREATE_RESPONSE for new integrations. Generates one synchronous, stateless completion with optional sampling, structured output, and function calling; streaming is disabled.
Create Embeddings
GROK_CREATE_EMBEDDINGSCreate vector embeddings for one or more text inputs with an xAI embedding model.
Create Response
GROK_CREATE_RESPONSEGenerate a bounded, non-streaming Grok response from text or structured multimodal input, with optional reasoning, search, and function or web-search tools. Responses are ephemeral by default; set store=true to retain one for 30 days.
Edit Images
GROK_EDIT_IMAGESEdit one to five source images from public or base64 URLs or xAI Files API IDs using a natural-language instruction.
Generate Image
GROK_GENERATE_IMAGEGenerate one or more images from a text prompt with an xAI image-generation model.
Generate Video
GROK_GENERATE_VIDEOStart asynchronous xAI video generation from a text prompt, optionally conditioned on an image, and return a request ID for status checks.
Get API Key Info
GROK_GET_API_KEY_INFOInspect the connected xAI API key's identity, wildcard or granular ACLs, and key or team blocking state.
Get Current Account
GROK_GET_CURRENT_ACCOUNTVerify the connected xAI credential and return the caller, team, zero-data-retention status, and key blocking state.
Get Video
GROK_GET_VIDEOCheck an asynchronous xAI video request. Returns pending while generation is in progress, the video and usage when done, or the structured generation error when failed.
List Models
GROK_LIST_MODELSList models available to the connected xAI key, including model IDs and published pricing metadata needed to choose a model for other tools.