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

wait_for_channel

wait_for_channel( channel: string, drain_first?: boolean, timeout?: number, )
tool [source]

Change tmux state; no client-supplied executable input. Waits on tmux’s channel state with a bounded timeout.

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

Arguments#

No other arguments are accepted.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Wait for a channel"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"properties": {
"channel": {
"description": "a server-wide tmux channel name",
"type": "string"
},
"drain_first": {
"description": "consume a pending signal before waiting",
"type": "boolean"
},
"timeout": {
"description": "seconds to wait before giving up",
"minimum": 0,
"type": "number"
}
},
"required": [
"channel"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"effectiveTimeoutSeconds": {
"type": "integer"
},
"signalled": {
"type": "boolean"
},
"timeoutClamped": {
"type": "boolean"
}
},
"required": [
"signalled",
"effectiveTimeoutSeconds"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference