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

set_history_limit

set_history_limit( lines: integer, )
tool [source]

Change tmux state; no client-supplied executable input. Set the default retained scrollback line limit through a bounded integer.

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

Arguments#

  • lines (integer) #

    Scrollback lines each new pane keeps. Applies to panes made after this.

    minimum
    0
    maximum
    2000000

Result#

Returns object

  • lines (integer) #

    minimum
    -9007199254740991
    maximum
    9007199254740991

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": {
"lines": {
"description": "Scrollback lines each new pane keeps. Applies to panes made after this.",
"maximum": 2000000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"lines"
],
"type": "object"
}
Output schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"lines": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"lines"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference