Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
mqscript_tap | Tap on screen at specified coordinates. Short tap once on the specified coordinates. |
mqscript_touch | Hold touch on screen for specified duration |
mqscript_swipe | Swipe from one point to another with specified duration |
mqscript_keypress | Press a key once |
mqscript_keydown | Press and hold a key |
mqscript_keyup | Release a key |
mqscript_delay | Pause script execution for specified duration |
mqscript_for | Create a For loop structure |
mqscript_if | Create an If statement structure |
mqscript_while | Create a While loop structure |
mqscript_dim | Define variables or arrays |
mqscript_getpixelcolor | Get color of pixel at specified coordinates |
mqscript_findcolor | Find color in specified region with support for multiple colors, color deviation, and similarity |
mqscript_cmpcolor | Compare color at specified point with expected color |
mqscript_showmessage | Display a message dialog |
mqscript_traceprint | Output debug information |
mqscript_runapp | Launch an application |
mqscript_inputtext | Input text into the current focused field |
mqscript_abs | Get absolute value of a number |
mqscript_sin | Calculate sine of an angle (in radians) |
mqscript_cos | Calculate cosine of an angle (in radians) |
mqscript_tan | Calculate tangent of an angle (in radians) |
mqscript_sqr | Calculate square root of a number |
mqscript_rnd | Generate random number between 0 and specified maximum |
mqscript_len | Get length of a string |
mqscript_left | Get specified number of characters from left side of string |
mqscript_right | Get specified number of characters from right side of string |
mqscript_mid | Get substring from specified position |
mqscript_instr | Find position of substring in string |
mqscript_replace | Replace occurrences of substring with new text |
mqscript_ucase | Convert string to uppercase |
mqscript_lcase | Convert string to lowercase |
mqscript_cint | Convert value to integer |
mqscript_cstr | Convert value to string |
mqscript_cbool | Convert value to boolean |
mqscript_isnumeric | Check if value is numeric |
mqscript_ubound | Get upper bound of array |
mqscript_split | Split string into array using delimiter |
mqscript_join | Join array elements into string using delimiter |
mqscript_ui_newlayout | Create a new UI layout |
mqscript_ui_newrow | Start a new row in layout |
mqscript_fw_addtextview | Add text view to floating window |
mqscript_ui_addedittext | Add an edit text control |
mqscript_fw_addbutton | Add button to floating window |
mqscript_ui_addcheckbox | Add a checkbox control |
mqscript_ui_show | Show the UI dialog |
mqscript_element_settext | Set text to UI element |
mqscript_element_gettext | Get text from UI element |
mqscript_ui_setenabled | Set enabled state of a UI control |
mqscript_ui_setvisible | Set visibility of a UI control |
mqscript_fw_create | Create a floating window |
mqscript_fw_show | Show floating window |
mqscript_fw_hide | Hide floating window |
mqscript_fw_onclick | Set click event handler for floating window button |
mqscript_element_click | Click on UI element |
mqscript_file_exists | Check if file exists |
mqscript_device_getinfo | Get device information |
mqscript_device_vibrate | Make device vibrate |
mqscript_device_setbrightness | Set screen brightness |
mqscript_device_setvolume | Set device volume |
mqscript_phone_call | Make a phone call |
mqscript_phone_sendsms | Send SMS message |
mqscript_phone_getcallstate | Get current call state |
mqscript_sys_exit | Exit the script |
mqscript_sys_gettime | Get current system time |
mqscript_sys_shell | Execute system shell command |
mqscript_sys_getenv | Get environment variable |
mqscript_sys_setenv | Set environment variable |
mqscript_sys_sleep | Sleep for specified duration |
mqscript_cjson_parse | Parse JSON string to object |
mqscript_cjson_stringify | Convert object to JSON string |
mqscript_cjson_get | Get value from JSON object |
mqscript_cjson_set | Set value in JSON object |
mqscript_datetime_now | Get current date and time |
mqscript_datetime_format | Format date time with specified format |
mqscript_datetime_adddays | Add days to date time |
mqscript_datetime_compare | Compare two date times |
mqscript_file_read | Read file content |
mqscript_file_write | Write content to file |
mqscript_file_delete | Delete file |
mqscript_file_copy | Copy file |
mqscript_turing_chat | Chat with TURING robot |
mqscript_turing_setconfig | Set TURING robot configuration |