Interface SubagentStartHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handler invoked before a subagent's first turn.
-
Method Summary
Modifier and TypeMethodDescriptionhandle(SubagentStartHookInput input, HookInvocation invocation) Handles a subagent-start hook invocation.
-
Method Details
-
handle
CompletableFuture<SubagentStartHookOutput> handle(SubagentStartHookInput input, HookInvocation invocation) Handles a subagent-start hook invocation.- Parameters:
input- the hook inputinvocation- context about the invocation- Returns:
- context to prepend to the subagent's prompt, or
null
-