MCPcopy
hub / github.com/IBM/AssetOpsBench / StepResult

Class StepResult

src/agent/plan_execute/models.py:54–68  ·  view source on GitHub ↗

Result of executing a single plan step.

Source from the content-addressed store, hash-verified

52
53@dataclass
54class StepResult:
55 """Result of executing a single plan step."""
56
57 step_number: int
58 task: str
59 server: str
60 response: str
61 error: Optional[str] = None
62 tool: str = ""
63 tool_args: dict = field(default_factory=dict)
64 duration_ms: float | None = None
65
66 @property
67 def success(self) -> bool:
68 return self.error is None
69
70
71@dataclass

Calls

no outgoing calls