List items needing attention
list_attention_itemsThe items the totals leave out until the user answers, of one tax year or all, a
page at a time (next_offset for the next): a transfer to or from someone unknown, a
receipt with no price, a bridge leg unmatched. Each has an id to answer it by
(answer_attention_items) and its transaction's link.
``answers`` is what may be said about that item, and nothing else fits it: an item whose
other side is a contract, a protocol's or the asset's own, or a mint (``party_kind``,
with ``party_name`` where we know what it is called) is no wallet of the user's to claim
and no gift — tell them what it is instead of asking whose address it is. A smart wallet
of theirs is added as a wallet (add_wallet_address), which matches both sides itself.
An item no ``answers`` fits is still the user's to decide: ``source``, ``tx_ref``,
``actor_address`` and ``event_index`` name the event it is, which list_transactions
gives with the types that event admits (a payment for gas is a fee, not a sale), and
set_transaction_type stores what they say it was. Ask them first; never pick a type
for a contract nobody has read — that one is ours to read, not theirs to guess.
``why`` on an item means the user already answered that leg and the answer could not be
used: the ledger moved under it, in one of eight ways the code names (the address is no
longer watched, the operation was written anew, the wallet they named cannot be the
other side, nothing there matches by amount and time, we read it differently, it is a
move of their own now, their own retype overrides it, the day they gave is too late).
``detail`` says which in English. The item keeps its own reason and value and is waiting
on them again, so say it was their answer that did not fit before asking it again.
Refused while the account's history is still being read: see get_tax_reports.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": "list_attention_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | One tax year, as get_tax_reports gives it in ``tax_year``. Left out: every year. | |
| client | No | An account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case. | |
| offset | No | Where the page starts: 0 for the first page, then the ``next_offset`` the page before gave. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | ||
| next_offset | Yes |