Uses of Class
com.github.copilot.sdk.json.HookInvocation
Packages that use HookInvocation
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of HookInvocation in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return HookInvocationModifier and TypeMethodDescriptionHookInvocation.setSessionId(String sessionId) Sets the session ID.Methods in com.github.copilot.sdk.json with parameters of type HookInvocationModifier and TypeMethodDescriptionPostToolUseHandler.handle(PostToolUseHookInput input, HookInvocation invocation) Handles a post-tool-use hook invocation.PreToolUseHandler.handle(PreToolUseHookInput input, HookInvocation invocation) Handles a pre-tool-use hook invocation.SessionEndHandler.handle(SessionEndHookInput input, HookInvocation invocation) Handles a session end event.SessionStartHandler.handle(SessionStartHookInput input, HookInvocation invocation) Handles a session start event.UserPromptSubmittedHandler.handle(UserPromptSubmittedHookInput input, HookInvocation invocation) Handles a user prompt submission event.