# list_agent_templates

> 這個 AirBuild MCP 工具會列出團隊可以僱用的 Agent 範本，包括空白的自訂範本。

Source: https://air.build/tw/docs/mcp-tools/list_agent_templates/

`list_agent_templates` 會列出團隊可以僱用的 Agent。每個都是一個範本，帶有名稱、角色和簡介；[hire_agent](https://air.build/tw/docs/mcp-tools/hire_agent/) 接受它的 `templateId`。`custom` 範本是空白範本，用於你從零開始定義、使用自己的名稱、角色和指示的 Agent。清單對每個團隊都相同，所以工具沒有輸入。它不會僱用任何 Agent。

| 唯讀 | 破壞性 | 冪等 |
| --- | --- | --- |
| 是 | 否 | 是 |

## 輸入

沒有輸入。

## 結果

| 欄位 | 說明 |
| --- | --- |
| `templates` | 你可以僱用的範本 |
| `templates[].templateId` | 範本的 ID（UUID）。把它傳給 [hire_agent](https://air.build/tw/docs/mcp-tools/hire_agent/) |
| `templates[].key` | 它的簡短 key，例如 `custom`。從它僱用的 Agent 會以此作為 `agentId`，除非你另選一個 |
| `templates[].name` | 從它僱用的 Agent 的初始名稱 |
| `templates[].role` | 一句話：從它僱用的 Agent 做什麼 |
| `templates[].bio` | 從它僱用的 Agent 負責的領域 |

```json
{
  "templates": [
    {
      "templateId": "00000000-0000-0000-0000-000000000000",
      "key": "designer",
      "name": "Designer",
      "role": "Designs the app's screens",
      "bio": "Layout, icons and colours."
    },
    {
      "templateId": "00000000-0000-0000-0000-000000000000",
      "key": "custom",
      "name": "Custom",
      "role": "<role>",
      "bio": "<bio>"
    }
  ]
}
```

## 錯誤

這個工具沒有自己的錯誤。所有工具都可能傳回的錯誤，請參閱 [伺服器與登入](https://air.build/tw/docs/mcp-tools/server/#errors)。

## 範例

```json
{"name": "list_agent_templates", "arguments": {}}
```
