dosbox_emulator_command
Trigger DOSBox-X recording, screenshot, or save/load state menu actions programmatically without focus or keystrokes. Stop recordings by firing the same action again. Works on Windows.
Instructions
Fire one of DOSBox-X's own menu items without focus and without a keystroke: record_opl, record_midi, record_wave, record_video, screenshot, save_state, load_state. Firing a record action again stops that recording. Windows only -- DOSBox-X draws its own menu elsewhere; see dosbox_capabilities.
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": {
"action": "<action>"
},
"name": "dosbox_emulator_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| action | Yes | record_opl, record_midi, record_wave, record_video, screenshot, save_state, load_state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||