Canonical Definition
{
"function": {
"description": "Emits hardware-level keystrokes to type text or press specific keys on the system.",
"name": "desktop_type",
"parameters": {
"properties": {
"key": {
"description": "A specific control key to press (e.g., 'enter', 'tab', 'escape', 'backspace'). If provided, 'text' is ignored.",
"type": "string"
},
"text": {
"description": "The string of text to type out (e.g., 'hello world').",
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"metadata": {
"consumers": [
"all"
],
"version": "1.0.0"
},
"type": "function"
}