press_caps_lock
Toggle the BBC Micro's CAPS LOCK state with a single tap. This action switches the current state without checking prior status; use set_caps_lock for a deterministic result.
Instructions
Tap CAPS LOCK once to toggle the current state.
A pure toggle: the tool does not know or care about the
pre-tap state. Use set_caps_lock(session_id, on) if you
need a deterministic final state; that tool reads the MOS
caps-lock flag and presses only if needed.
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": {
"session_id": "<session_id>"
},
"name": "press_caps_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||