All command line tools (including the one found in the other answer) are NOT able to interact with the password of the keyring itself, probably by design. You'll almost certainly have to look at the file format & code for "gnome-keyring-daemon" and roll your own. It's probably not too hard, but you may not have to go that far.
The closest tool I was able to find is called "seahorse" I have NO idea why it's called that instead of "gnome-keyring-manager" or something, but that is the gui for gnome keyring access.
It is a gui but I was able to guess my password in less than twenty tries, so didn't bother to discover if I could automate it via some form of X macro commands. (which is MUCH harder on linux than windows due to security concerns.)
Writing a bit of python to directly access the keyring file itself is probably easier. It's likely that it's flat out not possible using existing tools, and that by design. The gnome-keyring-daemon probably doesn't provide access to the keyrings directly. Which is to say that the "seahorse" GUI probably doesn't actually prompt for passwords and unlock things, but hands a request to the daemon, which then prompts the user directly.
But that's speculation.