record_tool_outcome
Record the outcome of a tool call—success, failure, or partial—with duration and error details. Results are appended to a rolling window for trend analysis.
Instructions
v2.1.0 — Record a single tool-call outcome directly via ToolAffordanceManager (bypasses ToolCallObserver). Creates the record on first call; appends to rolling window on subsequent. Throws "conflict" on concurrent writer mismatch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | ||
| toolName | Yes | ||
| durationMs | No | Wall-clock duration. Optional. | |
| errorMessage | No | Required when outcome is failure or partial (ranked in commonFailureModes). |