toolStart static method

ZorphyPatch<AgentSessionDocument> toolStart(
  1. String sessionId,
  2. String toolName,
  3. int turn, {
  4. AgentSessionDocument? base,
})

The patch for a single tool_execution_start event.

Implementation

static ZorphyPatch<AgentSessionDocument> toolStart(
  String sessionId,
  String toolName,
  int turn, {
  AgentSessionDocument? base,
}) => project(sessionId, [
  AgentToolStart(toolName: toolName, turn: turn),
], base: base);