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

Replace retained-history bounds with a non-negative integer. Change tmux state; no client-supplied executable input.

All C++ tools · JSON · Source

Arguments

limit required · integer
Retained history line limit.
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": {
"limit": {
"description": "Retained history line limit.",
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"session": {
"description": "Stable session ID or name.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"session",
"limit"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Set tmux history limit"
}
Esc

Type to search.