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.

show_environment

Read global or session environment values. Read the tmux environment; accepts no client-supplied executable input. Returned values may contain secrets.

All C++ tools · JSON · Source

Arguments

name optional · string
Optional exact environment name.
session optional · string
Optional session target.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"name": {
"description": "Optional exact environment name.",
"maxLength": 256,
"type": "string"
},
"session": {
"description": "Optional session target.",
"maxLength": 512,
"type": "string"
}
},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Show the tmux environment"
}
Esc

Type to search.