Define an outcome unit
define_outcome_unitCreate an organization outcome unit, or update it when the code exists (only the fields given change). Outcome units never move money; they measure value for goals and ROI.
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": {
"code": "<code>"
},
"name": "define_outcome_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Stable lowercase code, e.g. 'ticket_resolved'. | |
| icon | No | Optional icon name from the Blueprint icon set. | |
| name | No | Display name; required when creating. | |
| active | No | Set false to deactivate the unit. | |
| source | No | How the unit is recorded (default self_report). | |
| auto_rule | No | For auto_rule: {event: run_completed|tool_invoked|thread_messages, tool?, min_messages?}. | |
| description | No | One line on what counts as one unit. | |
| minutes_saved | No | Minutes of human work one unit saves, for ROI. | |
| value_per_unit | No | Monetary value of one unit, for ROI. | |
| billable_unit_code | No | For billing_mirror: the billable unit's code. |