Skip to main content

D2ExecuteCommand

Runs a D2 built-in command on a D2 agent.

Script Data#


NameDescription
Script Typejavascript
Tagsendpoint, agent

Inputs#


Argument NameDescription
argumentsThe arguments to pass to the D2script. This is done in a Dictionary format "{arg1:val1,arg2:val2}".
commandNameThe D2 command to run.

Outputs#


There are no outputs for this script.