facedancer_command
Sends commands such as key presses, typed strings, serial writes, or status requests to a running emulated USB device and returns its response.
Instructions
Send a command to the running emulated device (e.g. key_down, type_string, serial_write, status) and return its result.
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": {
"command": "<command>"
},
"name": "facedancer_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Command arguments. | |
| command | Yes | Command name supported by the running kind (see facedancer_list_device_kinds). | |
| timeout_s | No | Reply timeout in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||