instructions_send
Send an instruction to target devices or device groups by selecting a template via ID or name and passing required parameters.
Instructions
Send an instruction to devices. Use definitionId or definitionName to identify the instruction template. Target devices via 'devices' (array of FQDNs like ['host.domain.com']) OR via 'scope' (management group expression). Parameters are passed as [{name, value}] pairs matching the definition's schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| devices | No | List of device FQDNs to target, e.g. ['host1.corp.com', 'host2.corp.com']. Cannot be combined with scope. | |
| keepRaw | No | Store raw agent responses | |
| comments | No | Optional comment/reason | |
| parameters | No | Instruction parameters as [{name, value}] pairs | |
| definitionId | No | ID of the Instruction Definition | |
| definitionName | No | Name of the Instruction Definition (alternative to definitionId) | |
| responseTtlMinutes | No | Minutes to keep responses after gathering ends | |
| instructionTtlMinutes | No | Minutes to gather responses (default varies by definition) |