Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConcurrencySafe ¶
IsConcurrencySafe reports whether a tool is treated as safe for concurrent execution.
Types ¶
type Category ¶
type Category string
Category identifies the high-level behavior class of a Claude tool.
type InterruptBehavior ¶
type InterruptBehavior string
InterruptBehavior identifies the best-effort interrupt handling style for a tool.
const ( InterruptBehaviorCancel InterruptBehavior = "cancel" InterruptBehaviorBlock InterruptBehavior = "block" )
func InterruptMode ¶
func InterruptMode(toolName string) InterruptBehavior
InterruptMode returns the SDK's best-effort interrupt behavior hint.
Click to show internal directories.
Click to hide internal directories.