# Agent Function Skill

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

## Multiple Functions per Agent

You have the ability to have multiple functions setup per agent

<figure><img src="/files/05b5jHiJoMYNkMCfDO5C" alt=""><figcaption></figcaption></figure>

## Able to fully customize your AI Agent Function

Being able to fully customize your AI Agent function is important because it lets you define specific tasks the AI can perform, such as pulling data, calculating values, or interacting with tools based on user input. This enables more intelligent, action-oriented conversations where the AI doesn't just respond but actually does something useful and task-specific.

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

## Choosing a Function from a template

In an Organization it is possible to have Functions previously created, allowing you to simple import them directly into AI Agent and even further customizing them for a more specific Agent purpose.

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

## Function Name & Internal Name

The **Function Name** is the user-facing label that describes what the function does, while the **Internal Name** is used behind the scenes for system reference and integration purposes.

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

## Function Instructions

Function Instructions are crucial because they clearly define what the AI function is supposed to do, ensuring the AI executes the task accurately and stays aligned with your intended purpose. Well-written instructions guide the model’s behavior, reduce errors, and improve reliability when triggering specific actions.

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

## Function Webhook

The "Webhook to Call" is essential in a function because it defines the external endpoint where the AI sends data to execute the task, such as fetching real-time info or triggering an external action. Without it, the function can't connect to or interact with outside systems, making the task incomplete or non-functional.

<figure><img src="/files/9AklwwcM8nI8Xi17eMi4" alt=""><figcaption></figcaption></figure>

## Function Parameters

Function parameters are crucial because they define the inputs your AI needs to perform a task accurately, such as user details, query values, or settings. Structuring these parameters ensures the function runs dynamically and correctly based on real-time user input or context.

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

## [Function Setup Video](https://www.youtube.com/watch?v=BbADZyiu1tw)

{% embed url="<https://www.youtube.com/watch?v=BbADZyiu1tw>" %}


---

# Agent Instructions: 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:

```
GET https://docs.raiaai.com/raia-cx/agent-skills/agent-function-skill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
