Uses of Class
com.github.copilot.rpc.PreToolUseHookInput
Packages that use PreToolUseHookInput
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of PreToolUseHookInput in com.github.copilot.rpc
Methods in com.github.copilot.rpc that return PreToolUseHookInputModifier and TypeMethodDescriptionSets the current working directory.PreToolUseHookInput.setSessionId(String sessionId) Sets the runtime session ID of the session that triggered the hook.PreToolUseHookInput.setTimestamp(long timestamp) Sets the timestamp of the hook invocation.PreToolUseHookInput.setToolArgs(com.fasterxml.jackson.databind.JsonNode toolArgs) Sets the arguments passed to the tool.PreToolUseHookInput.setToolName(String toolName) Sets the name of the tool being invoked.Methods in com.github.copilot.rpc with parameters of type PreToolUseHookInputModifier and TypeMethodDescriptionPreToolUseHandler.handle(PreToolUseHookInput input, HookInvocation invocation) Handles a pre-tool-use hook invocation.