How to get the real path of sound audio?

Anki triggers HTML by onclick, but what I need is to access the nested text that’s similar to [sound:xxxx.mp3]. Could you advise on how to solve this problem? Is there a way to obtain the text variable [sound:xxxx.mp3] through {{sound}}?

Settings/Advanced/AnkiDroid directory

file:///AnkiDroid directory/collection.media/filename