Take the puff pastry out of the refrigerator and let it rest for 5-10 minutes. For the pesto, roast cashew nuts in a pan without fat. Take out, let it cool down. Wash the herbs, shake dry and chop coarsely.
Peel the garlic and chop roughly. Grate cheese. Finely puree herbs, garlic, 2 tablespoons of cheese, cashew nuts and 8 tablespoons of oil in a tall mixing bowl with a hand blender. Season to taste with salt and pepper.
Wash the meat, dab dry, dice. Heat 1 tablespoon of oil in a frying pan. Brown the meat all around. Season with salt and pepper. Wash the tomatoes. Mix cream cheese, egg and 1 heaped tablespoon pesto.
Preheat oven (electric cooker: 200 °C/circulating air: 175 °C/gas: see manufacturer). Roll out puff pastry. Cut off approx. 6 cm from the narrow side and press down on the long side to create almost a square.
Place the dough together with the baking parchment in a tart mould with a lifting base (24 cm Ø), press the edge slightly.
Spread about 2 tablespoons of pesto on the floor. Put it on the chicken. 2⁄3 Add cream cheese glaze. Spread the rest of the chicken, tomatoes, peppers and the rest of the pesto on top. Sprinkle with remaining cheese. Bake in the hot oven on the lower shelf for about 35 minutes.
Remove and let it rest for about 5 minutes before cutting.