opendss_run_command
Execute a single OpenDSS text command on the loaded circuit to add elements, change parameters, or set modes after compiling. Returns the DSS result or execution confirmation.
Instructions
Execute a single OpenDSS text command on the currently loaded circuit.
Useful for modifying the circuit after compilation (adding elements, changing parameters, setting modes, etc.).
Args: params: RunCommandInput with the DSS command string.
Returns: The DSS result string, or confirmation of 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": {
"params": "<params>"
},
"name": "opendss_run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |