Uses of Class
com.github.copilot.sdk.json.PostToolUseHookInput
Packages that use PostToolUseHookInput
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of PostToolUseHookInput in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return PostToolUseHookInputModifier and TypeMethodDescriptionSets the current working directory.PostToolUseHookInput.setTimestamp(long timestamp) Sets the timestamp of the hook invocation.PostToolUseHookInput.setToolArgs(com.fasterxml.jackson.databind.JsonNode toolArgs) Sets the arguments passed to the tool.PostToolUseHookInput.setToolName(String toolName) Sets the name of the tool that was invoked.PostToolUseHookInput.setToolResult(com.fasterxml.jackson.databind.JsonNode toolResult) Sets the result returned by the tool.Methods in com.github.copilot.sdk.json with parameters of type PostToolUseHookInputModifier and TypeMethodDescriptionPostToolUseHandler.handle(PostToolUseHookInput input, HookInvocation invocation) Handles a post-tool-use hook invocation.