Lend or borrow a thing
lend_itemRecords household items lent to someone or borrowed from others, with optional due dates, so you can track who has what. Use an item ID from search_inventory before logging the loan.
Instructions
Records that one of the household's items was lent to someone (direction "lent") or that something was borrowed from them ("borrowed"), optionally with a due-back date. Use it when the person says "I lent the drill to Sam"; get the item's id from search_inventory first. An item can have one open loan at a time; loan_returned closes it. Reminder emails to borrowers are set up in the app. Returns the loan with its id (for loan_returned) and due date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Anything worth remembering about the loan | |
| dueOn | No | When it's due back, yyyy-mm-dd | |
| since | No | When it went (or came), yyyy-mm-dd; today if left out | |
| itemId | Yes | The item's id, from search_inventory | |
| person | Yes | Who has it (lent) or whose it is (borrowed) | |
| direction | Yes | lent: the household's thing is with someone else; borrowed: someone else's thing is here |