II.
HookSurface overview
Reference · livehook-surface:claude.post-tool-batch
PostToolBatch (Claude Code) overview
Fires once after a parallel batch of tool calls fully resolves, before the next model call. The single hook receives all tool results in one array — convenient for cross-tool reasoning. Subscribers can block the next model call via decision: "block".
Attributes
eventName
PostToolBatch (Claude Code)
displayName
PostToolBatch (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
true
family
in-process
payloadSchema
type
object
required
- hook_event_name
- tool_results
properties
hook_event_name
type
string
const
PostToolBatch
tool_results
type
array
items
type
object
required
- tool_name
- tool_input
- tool_use_id
properties
tool_name
type
string
tool_input
type
object
tool_use_id
type
string
tool_result
type
- string
- null
error_message
type
- string
- null
description
Fires once after a parallel batch of tool calls fully resolves, before
the next model call. The single hook receives all tool results in one
array — convenient for cross-tool reasoning. Subscribers can block the
next model call via decision: "block".
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
maps_hook1
- hook-mapping:claude-post-tool-batch·HookMapping