esp_control
Acquire, release, or check a 300-second input lease before controlling a real USB mouse and keyboard, preventing concurrent agents from conflicting over shared input.
Instructions
Input lease. Every input tool needs the control_id from begin. control_busy means another task holds it: do not retry in a loop. The lease expires after 300 s without actions.
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": {
"operation": "<operation>"
},
"name": "esp_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | begin: short description of your task, shown to other agents. | |
| operation | Yes | begin: take the input lease; end: give it back; status: who holds it. | |
| control_id | No | end: the control_id returned by begin. |