solana_getTokenAccountsByOwner
Get all SPL token accounts owned by a wallet. Returns mint, balance, decimals for each token.
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": {
"owner": "<owner>"
},
"name": "solana_getTokenAccountsByOwner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Wallet address (base58) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| context | Yes |