> For the complete documentation index, see [llms.txt](https://help.botpenguin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.botpenguin.com/ai-agents/prompts-and-tools/end-call.md).

# End Call

Learn how to use End Call tool with BotPenguin

The End Call tool lets your AI agent hang up a voice call when the conversation is done. You add it on the Prompt & Tools page, choose which actions the agent may use, and tell the agent when to use it. It works on voice calls.

### Prerequisites

* An AI agent. See Create your first AI Agent.
* Voice bots turned on for your account. Without them the tool is not added and you see "Enable Voice Bots to use this tool".
* Edit access to AI Agents.

### Key definitions

| Term               | Meaning                                                               |
| ------------------ | --------------------------------------------------------------------- |
| Tool               | Something your agent can use to take an action.                       |
| Action             | One thing a tool can do. You turn each action on or off with Allowed. |
| Usage instructions | Your words that tell the agent when to use the tool and what to do.   |

### What the End Call tool can do

| Action   | What it does         |
| -------- | -------------------- |
| End call | Ends the voice call. |

***

### Steps

1. Open **Prompt & Tools** under Setup in the AI Agent sidebar. Click **Add tool**. In the Add tools window, find **End Call**. You can search for it, or look under Internal tools. Click it.

![Find End Call in the Add tools window](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/j4Ntd0QCwkLEkF20BOvl/images/end-call-step-1.png)

2. Under "How should the agent use End Call?", write when the agent should use the tool and what it should do. This is required.

![Turn on actions and write the usage instructions for End Call](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/kFuPQ0pOT1F0v9lCPHGG/images/end-call-step-2.png)

3. Click **Add tool**. The tool now shows under Connected tools with an Active label. Click **Done** to close the window, then click **Update** to save the page.

***

### Change or remove the tool

Under Connected tools, click the gear icon to open the tool's settings again. Click the delete icon to remove it. You are asked to confirm. Deleting removes the tool and its usage instructions from the agent.

***

### Common errors

<details>

<summary>The agent does not use the tool</summary>

Check that the tool shows Active under Connected tools. Check that the action you need is allowed. Make your usage instructions clearer about when to use the tool.

</details>

<details>

<summary>I cannot save the tool</summary>

The usage instructions are required. Fill them in.

</details>

<details>

<summary>It says "Enable Voice Bots to use this tool"</summary>

Voice bots are not turned on for your account, so the tool is not added. Turn on voice bots, or ask your account owner.

</details>

<details>

<summary>What happens if I delete the tool?</summary>

The agent can no longer use it, and its usage instructions are removed. Text about the tool in your prompt stays, so remove it too.

</details>

### Support

Still not working? Write to us at <support@botpenguin.com>. We will reach out to you within 24 hours.
