AI Agent Functions

Modified on Thu, 2 Oct at 1:17 PM

The Functions section — creating and selecting AI agent functions that will be active for the agent.

To create a function:

  1. Click the "Create Function" button.

  2. Specify the name, description (optional), and parameters in JSON format.

  3. Click the "Save" button.



Example function — Get client name and balance by account number.

{
  "baseUrl": "<https://base.kompaas.tech>",
  "method": "GET",
  "path": "api/private/api/client",
  "bodyParams": null,
  "headers": {},
  "pathParams": null,
  "queryParams": {
    "required": [
      "clientLevel",
      "clientLevelId"
    ],
    "properties": {
      "clientLevel": {
        "type": "string",
        "description": "Constant value: account_id"
      },
      "clientLevelId": {
        "type": "string",
        "description": "Client account number"
      }
    }
  }
 }


Also see:

'Creating and configuring the AI agent'

'How to connect the AI agent'

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article