> ## Documentation Index
> Fetch the complete documentation index at: https://guide.gpt-trainer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

When using [function calling](https://guide.gpt-trainer.com/rag-from-external-data-provider.md), you generally need to use publically available APIs - or make your own. However, we also host a number of commonly-used tool functions on our own site, tools.gpt-trainer.com. More are being added every day, so watch this space!

If you would like to suggest a function for us to add, please let us know! You can email us at [hello@gpt-trainer.com](mailto:hello@gpt-trainer.com).

In order to use these tool functions, you must first create your own GPT-trainer API key. For details, please see [Getting a GPT-trainer API Key](https://guide.gpt-trainer.com/api-reference/api-key-setup.md).

Our current tool functions are:

> [card] [weekday](https://guide.gpt-trainer.com/tools/weekday.md)
>
> Get the day of the week for a given date

> [card] Coming soon
>
> Under construction!

## Usage

In each tool function's individual page, the description and parameters of the tool are provided. These can be used directly when creating a function in your agent. For example, the settings in the image below are taken directly from the [Weekday](https://guide.gpt-trainer.com/tools/weekday.md) page.

![](https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/tools-intro-1.png?fit=max\&auto=format\&n=cqqSKD6mznKTkSgB\&q=85\&s=71b2d2c27449d3b2ed047343efdef1ce)

![](https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/tools-intro-2.png?fit=max\&auto=format\&n=cqqSKD6mznKTkSgB\&q=85\&s=b0787833b58328da84c5829bbe9c4b55)

For the "Headers" section of the form, you will want to enter the GPT-trainer API key you created earlier, like so:

```json theme={null}
{
  "Authorization": "Bearer Your-GPT-trainer-API-key-here"
}
```

> [!WARNING]
>
> You must replace *Your-GPT-trainer-API-key-here* with your own API key. The
> tool function will not work otherwise.

And then, just click "Save", and you should be all set!


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.