record_tool_outcome
Record tool-call outcomes directly, creating a new record on first call and appending to a rolling window thereafter. Throws a conflict error on concurrent writer mismatch.
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). |