Mark token as spam
set_token_spamA token marked as spam by the user (spam true), or a mark taken off (false),
ONLY as the user said. Marked, the token's operations are in no total, no lot and no
question; taken off, they are the user's to answer again. A mark taken off never comes
back by itself. Ask the user first: a token they gave something away in is a disposal,
and only they may say what it was.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"token_address": "<token_address>",
"spam": "<spam>"
},
"name": "set_token_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spam | Yes | True marks the token as spam; false takes a mark off. | |
| 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. | |
| source | Yes | The chain the token is on: its tag, as list_spam_tokens and list_transactions give it in ``source`` (``ethereum``). | |
| token_id | No | The token's id inside its contract, where one contract holds many tokens (an NFT, a prediction market's share). Left out for an ordinary token. | |
| token_address | Yes | The token's contract address on that chain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |