hac_groovy_execute
Executes Groovy scripts in the HAC Scripting Console and automatically archives successful scripts to the script library.
Instructions
Executes a Groovy script in the HAC Scripting Console. Automatically archives successful scripts to script library.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hac_groovy_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| commit | No | ||
| script | No | ||
| file_path | No | ||
| client_name | No | ||
| archive_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |