execute_action
Execute a UniFi action by providing its action ID and parameters. Works with search_actions to perform network management tasks efficiently.
Instructions
Execute a UniFi action by actionId using a generic params object. This is useful for agents that prefer a stable two-tool interface: search_actions + execute_action.
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": {
"actionId": "<actionId>"
},
"name": "execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionId | Yes | Action ID returned by search_actions, e.g. 'list_devices'. | |
| params | No | Action arguments object. Keys depend on actionId. |