Skip to main content
Parameters for [HOOKS_LIST_METHOD]. Deserializes as an untagged union: a payload carrying sessionId selects Session mode, while one carrying cwd selects Directory mode. The two are mutually exclusive; a payload with neither is rejected as invalid_params.