connect
Opens a 5250 session and returns the first screen, such as Sign On or a profile menu, to start IBM i green-screen work.
Instructions
Open a 5250 session and return the first screen: Sign On, or the screen after the profile's after-connect flow (e.g. a menu once signed on).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | No | ||
| host | No | IBM i host name, e.g. pub400.com (when not using a profile) | |
| port | No | 992 for TLS (default), 23 for plain telnet | |
| wide | No | 27x132 display (3477) instead of 24x80 | |
| profile | No | saved connection profile (see list_profiles); then leave out the connection details | |
| session | No | session name; lets you run several side by side | main |
| codepage | No | EBCDIC code page, e.g. cp037 (US), cp273 (DE), cp500 (intl) | |
| verify_tls | No | ||
| device_name | No | ask for a display device name; * becomes A, B, C... per connection (e.g. AGENT*), = a random character |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |