Record Action Outcome
record_outcomeLog action transitions between visual states, updating transition statistics with success, duration, and action type to track UI workflow outcomes.
Instructions
Log an action transition between two visual states and update transition statistics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from_state_id": "<from_state_id>",
"to_state_id": "<to_state_id>",
"action": "<action>",
"success": "<success>"
},
"name": "record_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action description | |
| success | Yes | Whether action succeeded | |
| git_branch | No | Active git branch | |
| action_type | No | Category of UI action | |
| duration_ms | No | Action duration in ms | |
| to_state_id | Yes | Destination state ID | |
| from_state_id | Yes | Source state ID | |
| response_format | No |