propose_iou
Propose an IOU: money the user lent or borrowed, or a repayment of one, between one of the user's accounts and a person. Returns a proposal id; to record it, call the confirm_proposal tool with the returned proposalId after the user approves (there is no UI button or proposal card to click in this context). It moves the account's balance and what the person owes, as the IOUs page does. For an income or expense already recorded that was really an IOU, use propose_convert_to_iou instead.
MCP note: this tool only CREATES a pending proposal; nothing is recorded until confirm_proposal is called.
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": {
"direction": "<direction>",
"accountId": "<accountId>",
"amount": "<amount>",
"currency": "<currency>",
"date": "<date>"
},
"name": "propose_iou"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD. | |
| amount | Yes | The amount, in MAJOR units (12.34 for $12.34, 50000 for Rp 50,000). Never multiply by 100. | |
| surplus | No | Only for collect or settle larger than what is owed (get_ious shows it), and only when the user said what the extra is. | |
| currency | Yes | Must be the account's currency. | |
| accountId | Yes | The user's own account the money left or reached. | |
| direction | Yes | lend: the user gave money (they owe the user). borrow: the user got money (the user owes them). collect: the person paid the user back. settle: the user paid the person back. | |
| description | No | Short. Default: 'Lent to <name>' and the like. | |
| counterpartyId | No | The person's id, when they exist already. | |
| editsProposalId | No | Id of a pending proposal from this same tool to replace, when the user asks to change it. Omit when proposing something new. | |
| counterpartyName | No | The person's name, when there is no id. A name that matches a person (letter case ignored) is that person; any other name adds a new person. |