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

Reads the environment tmux passes to processes. Read the tmux environment; accepts no client-supplied executable input. Returned values may contain secrets.

All Java tools · JSON · Source

Arguments

session_id optional · string
A session, such as $1; omit both for the global environment.
session_name optional · string
A session's exact name, in place of session_id.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"session_id": {
"description": "A session, such as $1; omit both for the global environment.",
"type": "string"
},
"session_name": {
"description": "A session's exact name, in place of session_id.",
"type": "string"
}
},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"session": {
"type": "string"
},
"unset": {
"items": {
"type": "string"
},
"type": "array"
},
"variables": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"required": [
"session",
"count",
"variables",
"unset"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Show tmux environment"
}
Esc

Type to search.