Standards & Files

What is WebSite SearchAction schema?

Answer

WebSite SearchAction schema is a Schema.org pattern that tells search engines and AI agents that the site has internal search functionality. It is added to the WebSite schema block on the homepage and enables Google to display a sitelinks search box directly in branded search results.

What it looks like

A potentialAction property on the WebSite schema, typed as SearchAction. The target is the search URL template (e.g. https://example.com/?s={search_term_string}). The query-input is 'required name=search_term_string'.

Why it matters for AEO

AI agents use SearchAction to understand how to navigate the site programmatically. When answering questions that require deeper site search, the agent can construct a query URL from the schema and follow it.

How to ship it

Add SearchAction inside the WebSite JSON-LD block on the homepage. Spacemen Digital adds SearchAction as part of standard Organization + WebSite schema bootstrapping for every client.

Want help shipping AEO into your site?

Run the free 50-signal AI Agent Readiness Check or book a free scoping call.

Score my site