send_key
Send a function or attention key to an IBM i 5250 terminal and receive the updated screen after the host processes the key.
Instructions
Send an attention/function key and wait for the host response.
Args: key: Key name. Valid values: Enter, F1-F24, PageUp, PageDown, Tab, Backtab, Clear, Help, Print, Attn.
Returns the updated screen after the host processes the key.
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": {
"key": "<key>"
},
"name": "send_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |