qt_set_property
Write a property value on a UI element in a live Qt application. Directly changes the app's state, so use when a direct API write is intended.
Instructions
Write a property value on a UI element.
DESTRUCTIVE: directly modifies the target application's state (may trigger property-notify signals, change geometry/visibility/business state) with no undo. Prefer real user input (clicks/typing) to simulate user actions; use this only when a direct API write is intended.
value is first parsed as JSON: "true" -> bool, "123" -> int,
""hello"" -> string. Unparseable text is sent as a plain string —
pass quoted strings explicitly when a string is intended.
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": {
"session_id": "<session_id>",
"element_id": "<element_id>",
"name": "<name>",
"value": "<value>"
},
"name": "qt_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes | ||
| element_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |