Uses of Class
com.github.copilot.sdk.json.PreToolUseHookInput
Packages that use PreToolUseHookInput
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of PreToolUseHookInput in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return PreToolUseHookInputModifier and TypeMethodDescriptionSets the current working directory.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.sdk.json with parameters of type PreToolUseHookInputModifier and TypeMethodDescriptionPreToolUseHandler.handle(PreToolUseHookInput input, HookInvocation invocation) Handles a pre-tool-use hook invocation.