hook-mapping:pre-tool-use-claude-code
hook-mapping:pre-tool-use-claude-code
HookMappingchannels-hooks/hook-mappings/claude-pre-tool-use.yaml·Open in Graph → {
"id": "hook-mapping:pre-tool-use-claude-code",
"_kind": "HookMapping",
"_file": "channels-hooks/hook-mappings/claude-pre-tool-use.yaml",
"_cluster": "channels-hooks",
"attributes": {
"mappingId": "hook-mapping:pre-tool-use-claude-code",
"hookId": "hook-surface:pre-tool-use",
"targetId": "agent-version:claude-code@1.x",
"nativeName": "PreToolUse",
"versionRange": ">=0.0.0",
"requiresRuntimeHooks": true,
"adapterFamily": "claude",
"delivery": "shell",
"blocking": true,
"supportLevel": "supported",
"payloadShape": {
"type": "object",
"required": [
"tool_name",
"tool_input",
"session_id",
"transcript_path"
],
"properties": {
"tool_name": {
"type": "string"
},
"tool_input": {
"type": "object"
},
"session_id": {
"type": "string"
},
"transcript_path": {
"type": "string"
}
}
}
},
"outgoingEdges": [
{
"from": "hook-mapping:pre-tool-use-claude-code",
"to": "hook-surface:pre-tool-use",
"kind": "maps_hook",
"attributes": {}
},
{
"from": "hook-mapping:pre-tool-use-claude-code",
"to": "agent-version:claude-code@1.x",
"kind": "emits_hook",
"attributes": {}
}
],
"incomingEdges": []
}