iiRecord
Agentic AI Atlas · PreToolUse (Claude)
hook-surface:claude.pre-tool-usea5c.ai
II.
HookSurface JSON

hook-surface:claude.pre-tool-use

Structured · live

PreToolUse (Claude) json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · channels-hooks/hook-surfaces/native/claude-pre-tool-use.yamlCluster · channels-hooks
Record JSON
{
  "id": "hook-surface:claude.pre-tool-use",
  "_kind": "HookSurface",
  "_file": "channels-hooks/hook-surfaces/native/claude-pre-tool-use.yaml",
  "_cluster": "channels-hooks",
  "attributes": {
    "eventName": "PreToolUse (Claude)",
    "displayName": "PreToolUse (Claude)",
    "kind": "native",
    "originVendor": "Anthropic",
    "direction": "pre",
    "blocking": true,
    "family": "shell-hook",
    "payloadSchema": {
      "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"
        }
      }
    },
    "description": "Claude Code's pre-tool-use hook. Fired before every tool\ninvocation. A non-zero exit code from the configured handler\naborts the tool call.\n"
  },
  "outgoingEdges": [
    {
      "from": "hook-surface:claude.pre-tool-use",
      "to": "hook-surface:pre-tool-use",
      "kind": "canonicalized_to",
      "attributes": {}
    },
    {
      "from": "hook-surface:claude.pre-tool-use",
      "to": "agentVersion:claude:ge-0-0-0",
      "kind": "emits_hook",
      "attributes": {
        "attrs": {
          "since": "1.0.0"
        }
      }
    }
  ],
  "incomingEdges": [
    {
      "from": "agent-runtime-impl:claude-code.runtime@1.x",
      "to": "hook-surface:claude.pre-tool-use",
      "kind": "exposes",
      "attributes": {}
    },
    {
      "from": "hook-mapping:claude-pre-tool-use-native",
      "to": "hook-surface:claude.pre-tool-use",
      "kind": "maps_hook",
      "attributes": {}
    }
  ]
}