II.
HookSurface JSON
Structured · livehook-surface:codex.on-tool-call
OnToolCall (Codex) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:codex.on-tool-call",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/codex-on-tool-call.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "OnToolCall (Codex)",
"displayName": "OnToolCall (Codex)",
"kind": "native",
"originVendor": "OpenAI",
"direction": "pre",
"blocking": true,
"family": "shell-hook",
"payloadSchema": {
"type": "object",
"required": [
"toolName",
"args"
],
"properties": {
"toolName": {
"type": "string"
},
"args": {
"type": "object"
}
}
},
"description": "Codex's pre-tool-call hook. Canonicalizes to pre-tool-use.\n"
},
"outgoingEdges": [
{
"from": "hook-surface:codex.on-tool-call",
"to": "hook-surface:pre-tool-use",
"kind": "canonicalized_to",
"attributes": {}
},
{
"from": "hook-surface:codex.on-tool-call",
"to": "agentVersion:codex:ge-0-119-0",
"kind": "emits_hook",
"attributes": {
"attrs": {
"since": "1.0.0"
}
}
}
],
"incomingEdges": [
{
"from": "agent-core-impl:codex.core@1.x",
"to": "hook-surface:codex.on-tool-call",
"kind": "fires_hook",
"attributes": {}
},
{
"from": "agent-runtime-impl:codex-app-server.runtime@current",
"to": "hook-surface:codex.on-tool-call",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:codex.runtime@1.x",
"to": "hook-surface:codex.on-tool-call",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:codex-on-tool-call-native",
"to": "hook-surface:codex.on-tool-call",
"kind": "maps_hook",
"attributes": {}
}
]
}