List spam tokens
list_spam_tokensThe tokens marked as spam, a page at a time (next_offset for the next): their
operations are outside the user's report. Read it when the user asks what was left
out as spam, and before set_token_spam drops or adds a mark. A mark of ours carries
the two facts that let us put it in reason — no source prices the token, and the
user gave none of it away, so nothing it does can change a figure. by_user: they
marked it themselves. entries is how many of their ledger entries the mark leaves
out; each year's note says the same count for that year.
A mark is the user's to keep or drop (set_token_spam); ``written_by`` is whose hand
made it where it was not this account's owner's (their accountant) and ``assistant``
the app it was made through, so a mark their accountant's assistant put on is tellable
from one they made themselves. Tell them what a mark leaves out before dropping one,
and never mark a token for them without asking.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_spam_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | ||
| provisional | No |