Create a PostToolUseHookInput
Usage
PostToolUseHookInput(
session_id,
transcript_path,
cwd,
tool_name,
tool_input,
tool_response,
tool_use_id,
permission_mode = NULL,
agent_id = NULL,
agent_type = NULL
)Examples
h <- PostToolUseHookInput(
session_id = "s1", transcript_path = "/tmp/t.jsonl", cwd = "/tmp",
tool_name = "Bash", tool_input = list(command = "ls"),
tool_response = "file.txt\n", tool_use_id = "t1"
)
h$tool_name
#> [1] "Bash"