Uses of Record Class
com.github.copilot.sdk.json.PreToolUseHookOutput
Packages that use PreToolUseHookOutput
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of PreToolUseHookOutput in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return PreToolUseHookOutputModifier and TypeMethodDescriptionstatic PreToolUseHookOutputPreToolUseHookOutput.allow()Creates an output that allows the tool to execute.static PreToolUseHookOutputPreToolUseHookOutput.ask()Creates an output that asks for user confirmation before executing the tool.static PreToolUseHookOutputPreToolUseHookOutput.deny()Creates an output that denies the tool execution.static PreToolUseHookOutputCreates an output that denies the tool execution with a reason.static PreToolUseHookOutputPreToolUseHookOutput.withModifiedArgs(String permissionDecision, com.fasterxml.jackson.databind.JsonNode modifiedArgs) Creates an output with modified tool arguments.Methods in com.github.copilot.sdk.json that return types with arguments of type PreToolUseHookOutputModifier and TypeMethodDescriptionPreToolUseHandler.handle(PreToolUseHookInput input, HookInvocation invocation) Handles a pre-tool-use hook invocation.