monica_debt
Manage debt records by listing, creating, updating, or deleting debts with details like amount, reason, status, and contact direction.
Instructions
Manage debts. Actions: list, get, create, update, delete. ⚠️ delete is irreversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Entity ID (required for get/update/delete) | |
| page | No | Page number | |
| limit | No | Page size (max 100) | |
| action | Yes | Operation to perform: list | get | create | update | delete. "list" = paginated list, "get" = by ID, "create" = new record, "update" = modify by ID, "delete" = remove by ID (irreversible). | |
| amount | No | Debt amount | |
| reason | No | Debt reason | |
| status | No | Debt status: 'inprogress' or 'complete' | |
| in_debt | No | Who is in debt: 'yes' (user owes contact) or 'no' (contact owes user) | |
| contact_id | No | Contact ID |