execute_extension_command
Runs a named driver or plugin extension command when no dedicated tool exists, including plugin-added commands. Call list_extension_commands first to get exact names and parameters.
Instructions
Run any extension command (execute method) of the driver or an active plugin by name, e.g. "windows: getWindows" or "pcomm: getScreenText". Call list_extension_commands first to get the exact name and parameters. Prefer a dedicated tool when one exists — use this for commands without one, including commands added by plugins. Pass element IDs (from find_element) as plain strings, usually under elementId. Element references in the result are returned as plain element ID strings. Some commands are destructive (closing apps, deleting files): confirm with the user before running those.
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": {
"command": "<command>"
},
"name": "execute_extension_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Named parameters of the command, e.g. { "elementId": "…", "value": "Finance" }. Omit when it takes none. | |
| command | Yes | Exact command name as listed by list_extension_commands, e.g. "windows: getWindows" |