{"uid":"cap_jNEUJUstuc1bGJtol4FXk","slug":"agent-search-query-builder-0d024d49","name":"Agent Search Query Builder","description":"Compress a verbose user task into search-engine-ready query variants","url":"https://agent-product-normalizer.vercel.app/api/v1/make-search-query","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["task"],"properties":{"task":{"type":"string","maxLength":20000,"description":"Messy task to convert into a compact search query"}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hefQEAkSgqsaJ_k2jKfki","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses a verbose user task description into concise, search-engine-ready query variants for downstream web or product searches","exampleAgentPrompt":"Take this messy task description and compress it into clean, search-engine-ready query variants: 'I need to find a durable waterproof hiking backpack with at least 50L capacity that works well in cold climates, has good lumbar support, and costs under $200 — ideally from a brand that's well-reviewed by serious hikers.'","exampleUseCases":[{"title":"E-commerce product search optimization","prompt":"I have this rambling product request from a user: 'I want a coffee maker that brews quickly, has a built-in grinder, makes a full pot, is easy to clean, and works with regular ground coffee too.' Can you compress that into tight search query variants I can send to a product search engine?"},{"title":"Research task to web search pipeline","prompt":"My agent needs to search the web for this: 'I want to learn about how central banks use interest rate adjustments to control inflation without triggering a recession, especially recent examples from the US and EU.' Turn that into compact search queries I can actually use."},{"title":"Support ticket to knowledge base search","prompt":"I have this long user support complaint — 'My app keeps crashing when I try to open the settings menu after updating to version 3.2 on Android 13, but only when I have dark mode enabled' — compress it into search queries so I can look up matching known issues in our knowledge base."}],"resultDescription":"The endpoint returns one or more compact, search-engine-optimized query strings derived from the input task. These variants are suitable for direct use in web search engines, product catalogs, or knowledge bases, reducing token overhead and improving retrieval precision for downstream agent steps.","failureModes":["Missing required 'task' query parameter returns a validation error","Extremely short or content-free task strings may produce low-quality or generic queries","Tasks exceeding the 20,000 character limit will be rejected","Non-English or highly domain-specific jargon may produce poorly generalized queries","Network or service unavailability on the Vercel deployment returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when an agent has received a long, unstructured user request and needs to issue web or product searches efficiently without wasting tokens on verbose queries. It is particularly well-suited for multi-step agent workflows where a retrieval step follows user input, and compactness and precision of the search terms directly impact downstream result quality. Prefer it over manual keyword extraction when the task is ambiguous or multi-faceted and multiple query variants are valuable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:37:39.538Z","isFirstParty":false}