Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_API_KEY | Yes | Your Grok AI API key (obtain from console.x.ai) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| chat_completion | Generate a response using Grok AI chat completion |
| image_understanding | Analyze images using Grok AI vision capabilities (Note: Grok 3 may support image creation) |
| function_calling | Use Grok AI to call functions based on user input |