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 the tmux environment; accepts no client-supplied executable input. Returned values may contain secrets. Read global or session tmux environment values.

All Swift tools · JSON · Source

Arguments

session optional · string
Caller-controlled session.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"session": {
"description": "Caller-controlled session.",
"type": "string"
}
},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"environment": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"type": "object"
}
},
"required": [
"environment"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Show environment"
}
Esc

Type to search.