II.
HookSurface JSON
Structured · livehook-surface:gemini.pre-prompt
pre_prompt (Gemini) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:gemini.pre-prompt",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/gemini-pre-prompt.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "pre_prompt (Gemini)",
"displayName": "pre_prompt (Gemini)",
"kind": "native",
"originVendor": "Google",
"direction": "pre",
"blocking": true,
"family": "shell-hook",
"payloadSchema": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string"
}
}
},
"description": "Gemini's pre-prompt hook. Fired before the prompt is sent to the\nmodel. Canonicalizes to before-prompt-build (or pre-tool-use for\ncross-product policies).\n"
},
"outgoingEdges": [
{
"from": "hook-surface:gemini.pre-prompt",
"to": "hook-surface:pre-tool-use",
"kind": "canonicalized_to",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-core-impl:gemini-cli.core@current",
"to": "hook-surface:gemini.pre-prompt",
"kind": "fires_hook",
"attributes": {}
},
{
"from": "agent-runtime-impl:gemini-cli.runtime@current",
"to": "hook-surface:gemini.pre-prompt",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:gemini-pre-prompt-native",
"to": "hook-surface:gemini.pre-prompt",
"kind": "maps_hook",
"attributes": {}
}
]
}