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.

set_history_limit

Change tmux state; no client-supplied executable input. Sets a bounded integer scrollback limit for future panes in a session.

All Go tools · JSON · Source

Arguments

lines required · integer
the nonnegative retained line count
session_id required · string
the session id, such as $1

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"lines": {
"description": "the nonnegative retained line count",
"type": "integer"
},
"session_id": {
"description": "the session id, such as $1",
"type": "string"
}
},
"required": [
"session_id",
"lines"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"enabled": {
"type": [
"null",
"boolean"
]
},
"name": {
"type": "string"
},
"target": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Set history limit"
}
Esc

Type to search.