show_hooks
Reads configured tmux hooks. Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration.
All Java tools · JSON · Source
Arguments
nameoptional · string- One hook name; omit to read all hooks in the scope.
scopeoptional · string- global, server, session, window or pane.
targetoptional · string- Required for session scope (an ID such as $1, or a name), window scope (@1) and pane scope (%1).
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "name": { "description": "One hook name; omit to read all hooks in the scope.", "type": "string" }, "scope": { "description": "global, server, session, window or pane.", "type": "string" }, "target": { "description": "Required for session scope (an ID such as $1, or a name), window scope (@1) and pane scope (%1).", "type": "string" } }, "required": [], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "count": { "type": "integer" }, "hooks": { "type": "object" }, "scope": { "type": "string" }, "target": { "type": "string" } }, "required": [ "scope", "target", "count", "hooks" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Show hooks"}