II.
HookSurface overview
Reference · livehook-surface:cursor.pre-tool
pre_tool (Cursor) overview
Cursor's pre-tool hook. Canonicalizes to pre-tool-use.
Attributes
eventName
pre_tool (Cursor)
displayName
pre_tool (Cursor)
kind
native
originVendor
Cursor
direction
pre
blocking
true
family
shell-hook
payloadSchema
type
object
required
- tool
- input
properties
tool
type
string
input
type
object
description
Cursor's pre-tool hook. Canonicalizes to pre-tool-use.
Outgoing edges
canonicalized_to1
- hook-surface:pre-tool-use·HookSurfacePreToolUse (canonical)
Incoming edges
exposes1
- agent-runtime-impl:cursor.runtime@current·AgentRuntimeImplCursor Runtime (current)
fires_hook1
- agent-core-impl:cursor.core@current·AgentCoreImplCursor Core (current)
maps_hook1
- hook-mapping:cursor-pre-tool-native·HookMapping