Generate WebSite JSON-LD with a Sitelinks Search Box action. Lets Google show a search box inside your site's listing in search results.
The URL your site uses to perform a search. The user's query gets appended.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite" } </script>