---
# AUTO-GENERATED API DOCUMENTATION - DO NOT EDIT
title: mirascope.core.xai.tool
description: API documentation for mirascope.core.xai.tool
---

# mirascope.core.xai.tool

The `XAITool` class for easy tool usage with xAI LLM calls.

<Info title="Usage">

[Tools](/docs/v1/learn/tools)

</Info>

## <ApiType type="Class" path="core/xai/tool" symbolName="XAITool" /> XAITool

A simple wrapper around `OpenAITool`.

Since xAI supports the OpenAI spec, we change nothing here.

**Bases:** 
<TypeLink type={{"type_str": "OpenAITool", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/openai/tool#openaitool"}} />


