disconnect
Sign off from the current screen's command line and close the IBM i session so the host job does not stay active. If the screen has no command line, report that signoff is unavailable.
Instructions
Sign off (from the command line of the current screen) and close the session. A screen without a command line can't be signed off from; the result says so.
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": "disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | session name; lets you run several side by side | main |
| signoff | No | sign off first from the screen's command line, so the job doesn't stay active on the host |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |