II.
HookSurface JSON
Structured · livehook-surface:before-model
Before Model json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:before-model",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/phase-gap-surfaces.yaml",
"_cluster": "channels-hooks",
"attributes": {
"displayName": "Before Model",
"hookPhase": "pre",
"description": "Fires before the model inference call. Allows request modification,\nprompt injection, or request interception.\n",
"isNative": true,
"availableInProducts": [
"agent:gemini-cli"
]
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:gemini-cli.runtime@current",
"to": "hook-surface:before-model",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:before-model-gemini",
"to": "hook-surface:before-model",
"kind": "maps_hook",
"attributes": {}
}
]
}