timeline
Schedule key and pointer events at millisecond precision in an app's background window, then send the full sequence once for timing-sensitive tasks like music, games, drags, and holds.
Instructions
Play key and pointer events on a millisecond schedule in an app's window, in the background. For input whose timing matters: music, games, drags, holds. Plan the whole sequence, then send it once. One event per line, MS VERB ARGS (MS = time from the start): MS down KEY · MS up KEY · MS tap KEY [HOLD_MS] · MS down X,Y [right] · MS up X,Y [right] · MS move X,Y · MS tap X,Y [HOLD_MS] [right]. KEY like a, shift+a, space, left. X,Y are window points. HOLD_MS defaults to 40.
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": {
"app": "<app>",
"events": "<events>"
},
"name": "timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| events | Yes | ||
| window | No |