preview_action_change
Preview controller action, icon, hotkey, and flow changes in a STREONOR profile before applying them to slots.
Instructions
Preview action/icon edits. create_by_name fills an empty slot from installed action_name or UUID. replace_by_name swaps an occupied slot in one write and keeps existing state icons by default. Supply image_path, state_images, or an automatic icon_query to select a replacement. Supply hotkey, for example Ctrl+Shift+P, with create_by_name or replace_by_name and the installed Hotkey or HotkeySwitch action. HotkeySwitch sends the same chord in both states. configure_action replaces settings for an existing slot. Plugin-specific execution is not verified by creation alone. Other operations: set_flow replaces a key with ordered steps cloned from same-page source_coordinate actions, optional settings overrides and delay_ms. Supply flow_steps and flow_title. New actions and flows get matching icons by default. auto_icon=False opts out and icon_query supplies a name. For icon operations state_index selects the image state, starting at 0. Use set_state_icons or supply state_images with create_by_name or replace_by_name to apply preferred images by state index together. PNG, JPEG, BMP, GIF, and WebP imports become 1254 x 1254 PNG with transparent padding.
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": {
"profile": "<profile>",
"operation": "<operation>",
"coordinate": "<coordinate>"
},
"name": "preview_action_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| hotkey | No | ||
| profile | Yes | ||
| auto_icon | No | ||
| operation | Yes | ||
| controller | No | Keypad | |
| coordinate | Yes | ||
| flow_steps | No | ||
| flow_title | No | ||
| icon_query | No | ||
| image_path | No | ||
| action_name | No | ||
| state_index | No | ||
| state_images | No | ||
| action_settings | No | ||
| source_coordinate | No |