Strands Agents Typescript SDK
    Preparing search index...

    Class AfterToolCallEvent

    Event triggered after a tool execution completes. Fired after tool execution finishes, whether successful or failed. Uses reverse callback ordering for proper cleanup semantics.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    type: "afterToolCallEvent" = ...
    agent: AgentData
    toolUse: { name: string; toolUseId: string; input: JSONValue }
    tool: Tool
    error?: Error
    retry?: boolean

    Optional flag that can be set by hook callbacks to request a retry of the tool call. When set to true, the agent will re-execute the tool.

    Methods