Involved in monoterpene (C10) biosynthesis in glandular trichomes (PubMed:17440821). Converts geranyl diphosphate to linalool in glandular trichomes in response to jasmonate (JA) (PubMed:17440821). Can convert farnesyl diphosphate to nerolidol in vitro (PubMed:17440821). (2E)-geranyl diphosphate + H2O = (R)-linalool + diphosphate (2E,6E)-farnesyl diphosphate + H2O = (6E)-nerolidol + diphosphate Binds 3 Mg(2+) ions per subunit. Secondary metabolite biosynthesis; terpenoid biosynthesis. Highly expressed in young fruits and plant tops (PubMed:17440821). Expressed in flower buds and trichomes of petioles and stems (PubMed:17440821). Expressed at low levels in young leaves, stems, petioles, sepals and petals (PubMed:17440821). Induced by spider mite feeding, wounding and jasmonate (JA). The Asp-Asp-Xaa-Xaa-Asp/Glu (DDXXD/E) motif is important for the catalytic activity, presumably through binding to Mg(2+). Belongs to the terpene synthase family. Tpsb subfamily.