Skip to main content
This page documents every field of a custom function. For a walkthrough of creating one in the dashboard, start there.

Complete schema structure

Every custom function has two parts: Function Definition (tells LLM what it does) and API Configuration (tells Bolna how to call your API).
Mandatory: The field "key": "custom_task" must be present exactly as shown. Do not modify this value.

Schema reference

Parts 1-2 follow the OpenAI function calling specification - they define what the function does. Parts 3-5 are Bolna extensions that define how to execute the API call automatically.

1. Function Definition

These fields tell the LLM about your function: