show_environment
Read the tmux environment; accepts no client-supplied executable input. A listing answers names without values, and a named variable is still withheld when the name reads as a credential. Read what a NEW pane will inherit, at the server or session level — not what an already-running shell has.
All C# tools · JSON · Source
Arguments
nameoptional · string | null- One variable name, which answers its value. Omit for every name with hasValue instead of values.
Default:
null. sessionoptional · string | null- A session id or name. Omit for the server environment.
Default:
null.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "name": { "default": null, "description": "One variable name, which answers its value. Omit for every name with hasValue instead of values.", "type": [ "string", "null" ] }, "session": { "default": null, "description": "A session id or name. Omit for the server environment.", "type": [ "string", "null" ] } }, "type": "object"}Output schema
{ "properties": { "result": { "items": { "properties": { "hasValue": { "type": "boolean" }, "isRemoved": { "type": "boolean" }, "name": { "type": "string" }, "value": { "type": [ "string", "null" ] }, "withheld": { "type": "boolean" } }, "required": [ "name", "value", "isRemoved", "hasValue", "withheld" ], "type": "object" }, "type": "array" } }, "required": [ "result" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Show environment"}