flipper_badusb_create
Write a BadUSB DuckyScript file to a Flipper Zero for authorized testing of your own PC; adds .txt if missing and saves without executing it.
Instructions
Write a BadUSB DuckyScript to /ext/badusb/ on the Flipper, for testing a PC you own. The agent authors the DuckyScript (DELAY, STRING, ENTER, GUI r, CTRL ALT DEL, etc.). Adds a .txt extension if missing. Does not run it.
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": {
"filename": "<filename>",
"ducky_script": "<ducky_script>"
},
"name": "flipper_badusb_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| ducky_script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |