> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/tools/configure_tools.md).

# AI アシスタントへのツール設定

作成したツールは、AI エージェントの設定画面で選択して利用できるようになり、AI エージェントにより強力な能力を付与します。本ガイドでは、作成したツールを特定の AI エージェントに設定する方法を説明します。

## ツールを設定する <a href="#configure-tools" id="configure-tools"></a>

### 1. AI エージェント設定画面を開く <a href="#step-1-enter-ai-agent-settings" id="step-1-enter-ai-agent-settings"></a>

まず、左側のナビゲーションバーから「<mark style="color:blue;">AI 機能</mark>」セクションを開き、「<mark style="color:blue;">AI エージェント</mark>」をクリックします。アカウント内に作成済みのすべての AI エージェントの一覧が表示されます。

<figure><img src="/files/ihmqHLjCbuMyUIIga5co" alt="AI エージェント一覧ページ"><figcaption><p>ツールを設定したい AI エージェントを見つけます</p></figcaption></figure>

### 2. 設定する AI エージェントを選択する <a href="#step-2-select-ai-agent" id="step-2-select-ai-agent"></a>

AI エージェント一覧から、ツールを設定したいエージェントを見つけ、「<mark style="color:blue;">編集</mark>」ボタンをクリックして、そのエージェントの詳細設定ページに移動します。

<figure><img src="/files/jH8dFpqDUhoxdsizkT9e" alt="AI エージェント編集ボタン"><figcaption><p>特定の AI エージェントの設定ページに移動します</p></figcaption></figure>

### 3. AI エージェントの回答モードを切り替える <a href="#step-3-switch-qa-mode" id="step-3-switch-qa-mode"></a>

{% hint style="danger" %}
**重要な前提：** **Agent モード**に設定された AI エージェントのみがツールを使用できます。AI エージェントがその他のモード（例：通常（デフォルト）回答モード）になっている場合は、ツールの設定や使用はできません。
{% endhint %}

AI エージェントの設定ページで、「<mark style="color:blue;">回答モード設定</mark>」のタブに切り替えます。

* **確認**：現在選択されているモードが「<mark style="color:blue;">Agent モード</mark>」であるかを確認します。
* **変更**：現在 Agent モードでない場合は、Agent モードに**切り替えて**ください。

<figure><img src="/files/upFEPfOgvjaYXBfu8cUK" alt="Agent モードを選択"><figcaption><p>ツールを使用するには AI エージェントが Agent モードに設定されていることを確認します</p></figcaption></figure>

### 4. ツール設定ページに切り替える <a href="#step-4-go-to-tool-config-page" id="step-4-go-to-tool-config-page"></a>

AI エージェントの設定ページで、「<mark style="color:blue;">🔧 ツール</mark>」のタブを見つけます。

<figure><img src="/files/srbShoS32HuTlxs8L2vq" alt="AI エージェント設定内のツールページ"><figcaption><p>ツール設定ページを見つけます</p></figcaption></figure>

### 5. 有効にするツールを選択する <a href="#step-5-select-enabled-tools" id="step-5-select-enabled-tools"></a>

このツール設定ページで、右上の「<mark style="color:blue;">➕ ツールを選択</mark>」ボタンをクリックすると、あらかじめ作成されたツールの一覧が開きますので、以下の操作を行います。

* **操作**：
  1. 一覧を確認し、この AI エージェントに使用させたいツールを見つけます。
  2. 有効にしたいツールの横にあるチェックボックスをオンにします。
  3. AI エージェントのタスクや要件に応じて、任意の数のツールを選択できます。

{% hint style="info" %}
MaiAgent の組み込みツール、またはご自身で定義したツールを選択できます。
{% endhint %}

<figure><img src="/files/y8akv8gTBUSmfEQDbWTt" alt="ツールを直接選択する画面"><figcaption><p>この AI エージェントに使用させたいツールを直接チェックします</p></figcaption></figure>

{% hint style="info" %}
**ヒント：** AI エージェントが実際に必要とし、かつ使用を許可されたツールのみを設定するようにしてください。関連性のないツールを過剰に設定すると、AI の判断精度や応答効率に影響する可能性があります。
{% endhint %}

### 6. 選択したツールを確認する <a href="#step-6-review-selected-tools" id="step-6-review-selected-tools"></a>

チェックが完了したら、AI エージェントに設定したツールを再度確認し、この AI エージェントに正しいツールが設定されていることを確かめます。

<figure><img src="/files/ldYb88voHFx0MRe0cTK8" alt="選択したツールの概要"><figcaption><p>AI エージェントに正しいツールが設定されていることを確認します</p></figcaption></figure>

### 7. 💾 AI エージェント設定を保存する <a href="#step-7-save-ai-agent-settings" id="step-7-save-ai-agent-settings"></a>

ツールの選択が完了したら、**必ず**「<mark style="color:blue;">保存</mark>」ボタンをクリックして、AI エージェント設定に加えた変更を保存してください。

<figure><img src="/files/BvhREMVjwTSgsUKtCnQ8" alt="AI エージェント設定の保存ボタン"><figcaption><p>「保存」をクリックしてツール設定の変更を適用します</p></figcaption></figure>

## MaiAgent の組み込みツールを設定する <a href="#configure-maiagent-builtin-tools" id="configure-maiagent-builtin-tools"></a>

MaiAgent には 4 種類の AI 画像生成ツールが組み込まれており、追加の設定なしで、ご要望に応じて AI エージェントに適用して使用できます。

{% hint style="info" %}
4 種類のツールの比較については、こちらをご参照ください：[MaiAgent 組み込み AI 画像生成ツール](/maiagent-user-guide/maiagent-user-guide-ja/tools/ai-image-generation-guide.md)
{% endhint %}

<figure><img src="/files/sLwIoFj8P5Olxp0cIFmw" alt=""><figcaption></figcaption></figure>

***

これで、選択した AI エージェントは、有効にしたこれらのツールを使用する能力を持つようになりました。そのエージェントと対話する際に、関連するシーンがトリガーされると、AI はこれらのツールを呼び出してタスクの完了や情報の取得を試みます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/tools/configure_tools.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
