Represents a tool call request for the wrapToolCall hook. Contains the tool call information along with the agent's current state and runtime.
interface ToolCallRequestThe runtime context containing metadata, signal, writer, interrupt, etc.
The current agent state (includes both middleware state and built-in state).
The tool that will be used to parse the tool call arguments.