Create a PermissionRequestHookInput
Usage
PermissionRequestHookInput(
session_id,
transcript_path,
cwd,
tool_name,
tool_input,
permission_suggestions = NULL,
permission_mode = NULL,
agent_id = NULL,
agent_type = NULL
)Examples
h <- PermissionRequestHookInput(
session_id = "s1", transcript_path = "/tmp/t.jsonl", cwd = "/tmp",
tool_name = "Bash", tool_input = list(command = "rm -rf /tmp/test")
)
h$tool_name
#> [1] "Bash"