II.
HookSurface overview
Reference · livehook-surface:before-model
Before Model overview
Fires before the model inference call. Allows request modification, prompt injection, or request interception.
Attributes
displayName
Before Model
hookPhase
pre
description
Fires before the model inference call. Allows request modification,
prompt injection, or request interception.
isNative
true
availableInProducts
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:gemini-cli.runtime@current·AgentRuntimeImplGemini CLI Runtime (current)
maps_hook1
- hook-mapping:before-model-gemini·HookMapping