# xAI Grok Function Calling

**Creator:** xAI  |  **Category:** tool-use  |  **Status:** stable

## Description

Grok's function/tool calling API lets developers define custom tools with JSON Schema that Grok invokes during conversations. Supports parallel tool calls, tool choice control, and can be combined with built-in tools like web search and X search. Accessible via the xAI SDK, OpenAI-compatible SDK, and Vercel AI SDK.

## Key Features

- JSON schema tools
- parallel tool calling
- tool choice control
- web search tool
- X search tool
- OpenAI SDK compatible

## Resources

- [Website](https://docs.x.ai/docs/guides/function-calling)
- [Specification](https://docs.x.ai/docs/guides/function-calling)

---
*Source: agentprotocols.app — /protocol/xai-grok-tool-use*