MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

kill_session

Delete one session and every window it owns. Delete tmux state; accepts no command payload.

All C++ tools · JSON · Source

Arguments

session required · string
Stable session ID or name.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"session": {
"description": "Stable session ID or name.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"session"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Kill a tmux session"
}
Esc

Type to search.