Triggercmd connects to a Nagent workspace with an API key. Once it is connected, agents can call 5 Triggercmd actions, such as "List TriggerCMD Commands V2", "List TriggerCMD Computers" and "List TriggerCMD Panel Buttons". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Triggercmd, with input parameters and output schema.
TRIGGERCMD_LIST_COMMANDS_V2Tool to list all available commands for the authenticated user. Use when you need to retrieve all commands configured on your computers.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TRIGGERCMD_LIST_COMPUTERSTool to list all computers associated with your TriggerCMD account. Use after authenticating with your token to retrieve connected machines.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TRIGGERCMD_LIST_PANEL_BUTTONSTool to retrieve all panel buttons configured in your TriggerCMD account. Use when you need to browse available panel buttons before triggering them.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TRIGGERCMD_TRIGGER_COMMANDTool to trigger a specified command on a target computer. Use when you want to remotely execute a pre-configured command after authentication. Values for `computer` and `command` must exactly match identifiers returned by TRIGGERCMD_LIST_COMPUTERS and TRIGGERCMD_LIST_COMMANDS respectively; arbitrary names cause silent failures.
Input parameters
Optional parameters string to pass to the command. Only include when the saved command is explicitly configured to accept parameters; omit otherwise.
The name or label of the command to trigger.
The name or ID of the target computer.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TRIGGERCMD_TRIGGER_PANEL_BUTTONTool to trigger a specific panel button. Panels allow grouping related commands for easier organization and triggering. Use when you want to execute a command that's part of a panel configuration.
Input parameters
Name of the panel containing the button to trigger.
Name of the button within the panel to trigger.
Optional parameters to pass to the command associated with the button.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 5 Triggercmd actions on Nagent, including "List TriggerCMD Commands V2", "List TriggerCMD Computers" and "List TriggerCMD Panel Buttons". List TriggerCMD Commands V2: List all available commands for the authenticated user. Each action is listed on this page with its input parameters and its output.
Triggercmd connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It returns data, error and successful.