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_idoptional · string- A session, such as $1; omit both for the global environment.
session_nameoptional · 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"}