call_plugin_tool
Execute a Lua plugin on the grandMA2 console by ID or name to run stored automation scripts. Requires destructive-action confirmation before sending the Plugin command.
Instructions
Execute a plugin on the grandMA2 console by ID or name.
Plugins are Lua scripts stored in the Plugin pool. This tool
invokes them using the Plugin keyword.
Args:
plugin_id: Plugin number (int) or name (str).
confirm_destructive: Must be True to proceed. Defaults to False (blocked).
Returns:
str: JSON with command_sent and raw_response.
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": {
"plugin_id": "<plugin_id>"
},
"name": "call_plugin_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin_id | Yes | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |