tool_call_pre (Gemini)
hook-surface:gemini.tool-call-pre
HookSurfacechannels-hooks/hook-surfaces/native/gemini-tool-call-hooks.yaml·Open in Graph → {
"id": "hook-surface:gemini.tool-call-pre",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/gemini-tool-call-hooks.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "tool_call_pre (Gemini)",
"displayName": "tool_call_pre (Gemini)",
"kind": "native",
"originVendor": "Google",
"direction": "pre",
"blocking": true,
"family": "shell-hook",
"payloadSchema": {
"type": "object",
"required": [
"tool_name",
"tool_input"
],
"properties": {
"tool_name": {
"type": "string"
},
"tool_input": {
"type": "object"
},
"session_id": {
"type": "string"
}
}
},
"description": "Gemini CLI's pre-tool hook. Fired before each tool invocation;\nsubscribers can deny, mutate args, or inject context. Canonicalizes\nto PreToolUse via hooks-mux mapping.\n"
},
"outgoingEdges": [
{
"from": "hook-surface:gemini.tool-call-pre",
"to": "hook-surface:pre-tool-use",
"kind": "canonicalized_to",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-core-impl:gemini-cli.core@current",
"to": "hook-surface:gemini.tool-call-pre",
"kind": "fires_hook",
"attributes": {}
}
]
}