Functions
Functions are core control flow and utility actions used to build agent skill scripts. They include LLM generation, variable assignment, conditional logic, sub-skill invocation, and flow control mechanisms like sleep and interrupt management.
Available Actions
| Action | Description |
|---|---|
| Gen | Generate a synchronous LLM response (non-streaming). |
| GenStream | Generate a streaming LLM response delivered to the client in real time. |
| Set | Assign a value to a named variable. |
| Return | Return a value and exit the current skill. |
| If | Conditional logic block for branching skill execution. |
| Do | Invoke another named skill or action. |
| Sleep | Pause execution for a specified duration. |
| FetchData | Trigger data injection from configured external sources. |
| EnableFollowUp | Enable follow-up message generation. |
| DisableFollowUp | Disable follow-up message generation. |
| StartNotInterruptibleBlock | Begin a block that cannot be interrupted by new events. |
| StopNotInterruptibleBlock | End a non-interruptible block. |
Updated 2 days ago
