List imports that can be undone
imports_listList up to 10 recent imports that can still be undone, with IDs and member details, to locate an earlier import_commit ID for rollback.
Instructions
List the latest imports (up to 10, newest first) that import_undo can still take back, each with id, source, startedAt, inserted (expenses created) and importedByMemberId. Use it to find the importId of an import_commit from an earlier session; imports with settled shares are left out. Admins see all imports of the flat, other members only their own. Read-only. For the preview of new data use import_preview.
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": "imports_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. |