Skip to main content
Glama

execute_script

Run AutoX.js scripts on Android devices to automate tasks, with options for delayed execution, looping, and interval control.

Instructions

Execute an AutoX.js script
Args:
    script (str): Script content to execute (optional)
    path (str): Local script path on device (optional, takes priority over script)
    delay (int): Delay before execution in milliseconds (default: 0)
    interval (int): Interval between loop iterations in milliseconds (default: 0)
    loop_times (int): Number of times to loop (default: 1, 0 for infinite)
Returns:
    str: Success or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptNo
pathNo
delayNo
intervalNo
loop_timesNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yz0903/autobot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server