show_hooks
Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Reads configured tmux hooks.
All Go 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- the target required by session, window, and pane scopes
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", "enum": [ "", "global", "server", "session", "window", "pane" ], "type": "string" }, "target": { "description": "the target required by session, window, and pane scopes", "type": "string" } }, "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "hooks": { "items": { "additionalProperties": false, "properties": { "command": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name", "command" ], "type": "object" }, "type": [ "array" ] }, "scope": { "type": "string" } }, "required": [ "scope", "hooks" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "openWorldHint": true, "title": "Show hooks"}