[KongchangAI]
Conceptjson_restrictor / JSON 限制器

JSON Restrictor

A server-side field filtering mechanism offered by SerpApi that trims JSON fields via the json_restrictor parameter before results are returned, reducing response size to fit within local LLM context window limits.

Timeline (last 90 days)

Oct 20

In the test application, the Maps tool's JSON restrictor keeps 5 places, while the Markdown restrictor keeps 6 places and additionally includes opening hours and place descriptions.

Unverified50%
Oct 20

In Markdown mode, the Search tool went from 5 web results to 5 results but accompanied by an answer box list, 8 AI Overview blocks and 3 top news headlines; News went from 5 stories with 1 related article each to 7 stories with 2 each; Flights went from 3+3 options to 4+4, including aircraft type, legroom, overnight layovers and price insights.

Unverified50%

All Facts (2)

Source Articles