II.
HookSurface JSON
Structured · livehook-surface:before-tool-selection
Before Tool Selection json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:before-tool-selection",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/phase-gap-surfaces.yaml",
"_cluster": "channels-hooks",
"attributes": {
"displayName": "Before Tool Selection",
"hookPhase": "pre",
"description": "Fires before the model selects which tool to invoke. Allows agents\nto inject tool-selection guidance or restrict available tools.\n",
"isNative": true,
"availableInProducts": [
"agent:gemini-cli"
]
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:gemini-cli.runtime@current",
"to": "hook-surface:before-tool-selection",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:before-tool-selection-gemini",
"to": "hook-surface:before-tool-selection",
"kind": "maps_hook",
"attributes": {}
}
]
}