session_close
Terminate a tmux session and its processes. Logs and region files persist for days; only close sessions you own or that are unattached.
Instructions
Kill a session and whatever runs in it. Its logs and region files are
kept on disk for a few days (session_logs keeps them for good, or
deletes them). Refused for a session a person is attached to, and
for another's while a command runs there: leave those to their
owners, or ask the user to close it. Close what you are done with; a session another agent or
a human started is theirs to close. A session that shares a window
with others (a split) closes its own pane only; window closes them
all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | close every session sharing this session's window (its split panes) too, not only this one | |
| session | Yes | the session's name (from session_create or session_list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |