record_interaction
Record interactions with friends by logging token usage and mission outcomes, while increasing familiarity.
Instructions
Record a turn with a friend: accumulate token usage and/or append a shared-mission outcome (bumping familiarity).
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": {
"friendId": "<friendId>"
},
"name": "record_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| friendId | Yes | friend uuid or name | |
| usage | No | token usage; only output_tokens is counted | |
| outcome | No | shared-mission outcome { missionId, result, note? } | |
| familiarityDelta | No | how much to bump familiarity (default 1) | |
| provenance | No | optional attribution for the outcome |