propose_counterparty
Propose adding a person the user lends to or borrows from, or renaming one or changing their notes. 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). A new person can start with debts that existed before Hundo (openingBalances). propose_iou adds a person by name on its own, so this is only needed for a person with no IOU yet.
MCP note: this tool only CREATES a pending proposal; nothing is recorded until confirm_proposal is called.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "propose_counterparty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required for a new person. | |
| notes | No | Null clears them. | |
| counterpartyId | No | To change an existing person: their id (get_ious or run_read_query on counterparty). Omit to add a new person. | |
| 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. | |
| openingBalances | No | New person only: debts that existed before Hundo, one per currency. |