Skip to content

RunCode

.halguru-action.yamlRunCode

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.

RunCode:
  Language: Bash
  Python: {}
  CSharp: {}
  Bash: {}

Properties#

Name Type Required Description
Language Option ✔️ 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.RunCodeHalPath
Internal Root Type ActionHalConfiguration
File Extension .halguru-action.yaml
JSON Schema halguru-action-schema.json

Last updated: 2025-12-05
Autogenerated: Yes
AI powered: Yes
Core version: 1.75.0