Skip to main content
The Token toolset allows agents to create and manage Solana SPL tokens. Useful for bootstrapping new token economies on development networks.

create_token_mint

Create a new SPL token mint. The signing wallet becomes the mint authority.
  • Input:
    • wallet_id — the wallet that will own the mint authority
    • decimals (optional, default: 9) — decimal precision of the token
  • Returns: Mint address, authority public key, transaction signature
This tool is registered in the tools index as registerMintTokenTool — it handles both mint creation and token minting operations.

mint_tokens

Mint new tokens from an existing mint. The signing wallet must hold the mint authority.
  • Input:
    • wallet_id — the wallet with mint authority
    • mint — the token mint address
    • amount — number of tokens to mint (in human-readable units)
    • to (optional) — recipient wallet address. Defaults to the signing wallet.
  • Side effects: Automatically creates the recipient’s Associated Token Account (ATA) if it doesn’t exist.
  • Returns: Transaction signature, minted amount, updated balance