trigger_motor_action
Start or stop an industrial motor safely. Dry-run checks preconditions first; execute by setting dry_run=False, providing operator ID and reason, and server write permission. Executed actions are audit-logged.
Instructions
Request a start or stop of an industrial motor.
Defaults to a DRY RUN: returns what would happen, evaluates safety preconditions, and lists warnings — without sending any command to the field. To actually execute:
Pass
dry_run=False.Pass
operator_id(recorded in the audit log).Pass
reason(short free-text justification).The server itself must be started with
INDUSTRIAL_MCP_ALLOW_WRITES=true; otherwise the call is rejected even when the LLM sets the flags.
Every executed command is appended to an audit log; dry-run calls are not logged.
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": {
"motor_id": "<motor_id>",
"action": "<action>"
},
"name": "trigger_motor_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | No | ||
| dry_run | No | ||
| motor_id | Yes | ||
| operator_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||