cst_execute_vba
Safely execute VBA code in CST Studio Suite. Automatically validates and blocks shell access, file I/O, and external process calls.
Instructions
Execute raw VBA code in CST Studio Suite. The code is validated for safety (shell access, file I/O, and external process execution are blocked). In connected mode the code runs directly; in offline mode the validated script is returned for manual execution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "cst_execute_vba"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | VBA code to execute in CST Studio. Must not contain shell commands, file I/O, or external process calls. |