Toby is one of the main characters of Disney's 1986 feature film The Great Mouse Detective. He belongs to Sherlock Holmes, who lives above Basil. He is the one who Toby is loyal to as well.
Toby is based on the dog of the same name from the Sherlock Holmes novels written by Arthur Conan Doyle, which is what Basil is based off of.