II.
HookSurface JSON
Structured · livehook-surface:copilot.pre-tool
Copilot pre-tool (native) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:copilot.pre-tool",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/canonical/lifecycle-and-native-stubs.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "Copilot pre-tool (native)",
"displayName": "Copilot pre-tool (native)",
"kind": "native",
"originVendor": "GitHub",
"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": "GitHub Copilot CLI's pre-tool hook."
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:copilot-cli.runtime@current",
"to": "hook-surface:copilot.pre-tool",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:copilot-pre-tool-native",
"to": "hook-surface:copilot.pre-tool",
"kind": "maps_hook",
"attributes": {}
}
]
}