qt_call_method
Invoke a QMetaObject-invokable method on a Qt UI element to change its state directly. This performs real, irreversible actions like close() or deleteLater(), so use only when direct API calls are intended.
Instructions
Invoke a QMetaObject-invokable method on a UI element.
DESTRUCTIVE: directly changes the target application's state with no
undo. Methods like close(), deleteLater() (destroys the
element and invalidates its id) or any app slot execute for real.
Prefer simulating user input (clicks/keys); call methods only when a
direct API invocation is intended. Argument types are coerced
silently (up to 10 args).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| method | Yes | ||
| element_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |