Kotoshironushi (事代主*)? in Nihon Shoki, also known as Yahe Kotoshironushi (八重事代主*)? in Kojiki, is the offspring of Okuninushi and older brother of Take-Minakata, who serves as the envoy of the Kunitsu gods. His name means "Lord Who Knows Things."
Nihon Shoki narrates that he submits to Futsunushi while the latter is representing the Amatsu gods to pacifies Ashihara no Nakatsukuni (葦原中国*)?. In Kojiki, when Take-Mikazuchi arrives at Okuninushi's place in demand of submission, Okuninushi defers the answer to Kotoshironushi who is away on a fishing trip. Take-Mikazuchi travels to Kotoshironushi's whereabout in Miho. Kotoshironushi quickly surrenders when the two meet. As a gesture of submission, he flips his own fishing boat, casts a "backside clapping" (天の逆手, amano sakate)? spell, which shapeshifts the boat into a cage of brushwood, and hides himself in it.
Kotoshironushi is also a Shinto name for Ebisu, one of the Seven Gods of Fortune (Shichifukujin), connected by the habit of fishing.
"Origin: Japan. The son of Ookuninushi, a ruler of Izumo. He has the power to determine right and wrong, and governs oracles. Accounts vary about what happened to him after surrendering to Take-Mikazuchi. Some say he killed himself, some say he fled, and some say he served the god."
"A Japanese deity that governs oracles who appears in the books Kojiki and Nihon Shoki. His name means "god who knows all." The deeds of the priestesses of the ancient San'in region stood out, but it was none other than this god that gave them the oracles. There are theories that the priestesses worshiped a goddess, but was turned into a male god when incorporated into Japanese mythology."