icp_token_balance
Check the balance of an ICRC-1 token for a given account on the Internet Computer, specifying token canister ID and optionally the owner principal and subaccount.
Instructions
Check the balance of an ICRC-1 token for a given account.
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": {
"token_canister_id": "<token_canister_id>"
},
"name": "icp_token_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | Owner Principal (default: current identity) | |
| subaccount | No | Optional subaccount (hex string) | |
| token_canister_id | Yes | The token canister Principal ID |