MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

stop_program

stop_program( programId: string, )
tool [source]

Change tmux state; no client-supplied executable input. End a started program and remove its pane now: SIGTERM, then SIGKILL two seconds later. Its id is forgotten, so read what you need with read_program first.

MCP request method
tools/call Send stop_program as the tool name, with the arguments below.

Arguments#

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"programId": {
"description": "The id start_program returned.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"programId"
],
"type": "object"
}
Output schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"programId": {
"description": "The program that was ended. Output read_program had not returned is gone.",
"type": "string"
}
},
"required": [
"programId"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference