RunCode
.halguru-action.yaml ➤ RunCode
Gets or sets the action responsible for executing a code snippet. This property is used to define a dynamic operation where the agent runs a specified piece of code. It allows for flexible execution of pre-defined logic as part of the agent's actionable tasks.
Field Information#
| Name | Description |
|---|---|
| Title | Run Code |
| Field Type | Object |
| Required | False |
Field List#
Choose one of the following options.
| Name | Type | Required | Description |
|---|---|---|---|
| Language | Choice | ✔️ | Specifies the code language to be used for executing the code. |
| Python | Object | Specifies the python code to be executed. | |
| CSharp | Object | Specifies the C# code to be executed. | |
| Bash | Object | Specifies the bash code to be executed. |
Remarks#
The code execution can be used in scenarios where custom logic needs to be incorporated dynamically during the agent's operation. It provides a versatile approach to handle complex workflows by invoking a programmable action.
Technical Information#
| Property | Value |
|---|---|
| Path | RunCode |
| Internal Type | ActionModels.RunCodeOption |
| Internal Root Type | ActionHalGuru |
| File Extension | .halguru-action.yaml |
| JSON Schema | halguru-action-schema.json |
→ .halguru-action.yaml#
→ Reference Index#
→ Configuration Files#
| Last updated: | 2026-03-19 | |
| Autogenerated: | Yes | |
| AI powered: | Yes | |
| Core version: | 1.93.0 |