macro_play
Execute a saved macro on the OPNSense MCP Server to automate network tasks, configure firewall rules, or manage VLANs. Supports parameter substitution and dry-run mode for testing.
Instructions
Play a saved macro
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dryRun | No | Execute in dry-run mode without making actual API calls | |
id | Yes | Macro ID | |
parameters | No | Parameters to substitute in the macro |
Input Schema (JSON Schema)
{
"properties": {
"dryRun": {
"default": false,
"description": "Execute in dry-run mode without making actual API calls",
"type": "boolean"
},
"id": {
"description": "Macro ID",
"type": "string"
},
"parameters": {
"additionalProperties": true,
"description": "Parameters to substitute in the macro",
"type": "object"
}
},
"required": [
"id"
],
"type": "object"
}