II.
HookSurface JSON
Structured · livehook-surface:tool-permission-request
Tool Permission Request json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:tool-permission-request",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/phase-gap-surfaces.yaml",
"_cluster": "channels-hooks",
"attributes": {
"displayName": "Tool Permission Request",
"hookPhase": "pre",
"description": "Fires when the agent requests permission to execute a tool.\nAllows custom authorization logic, gateway-based auth checks,\nor automatic approval/denial based on policy.\n",
"isNative": true,
"availableInProducts": [
"agent:openclaw"
]
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:openclaw.runtime@current",
"to": "hook-surface:tool-permission-request",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:gateway-auth-check-openclaw",
"to": "hook-surface:tool-permission-request",
"kind": "maps_hook",
"attributes": {}
}
]
}