Record outcome
record_outcomeRecord an interaction outcome for an agent. kind: success | delivered | dispute_won | failure | undelivered | dispute_lost | timeout | security_incident (security incidents carry a 3x penalty).
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": {
"agent_id": "<agent_id>",
"kind": "<kind>"
},
"name": "record_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | success, delivered, dispute_won, failure, undelivered, dispute_lost, timeout or security_incident. | |
| note | No | Optional. A short note. | |
| weight | No | Optional. Weight of this outcome. Default 1. | |
| agent_id | Yes | Id of the agent. | |
| counterparty | No | Optional. Id of the other party. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |