Fill the cavity of the trout with the garlic, onion and lemon juice. Rub trout with butter and place on a large piece of foil. Season with garlic salt, salt and pepper. Place the chilli on top of the trout. Seal trout in the foil.
Bake trout 25 minutes in the preheated oven or until easily flaked with a fork.