{"description":"Searches Service-Public.fr, the French government guide to administrative procedures, like its general search page: title and link of each result, in the site's order. First results page only. Returns an empty list when nothing matches.","effect":"read","id":"service-public.fr/search-government","keywords":["service-public","service public","service-public.fr","administration","démarches","carte d'identité","permis de conduire","impôts","papiers","government","france","public services"],"output":{"schema":{"properties":{"query":{"type":"string"},"results":{"items":{"properties":{"title":{"description":"Guide or procedure title, with its type in brackets, e.g. 'Carte d'identité (Fiches pratiques)'","type":"string"},"url":{"type":"string"}},"required":["title","url"],"type":"object"},"type":"array"}},"required":["query","results"],"type":"object"},"value":"{query: params.query, results: map(&{title: name, url: join('', ['https://www.service-public.gouv.fr', href])}, steps.search.results[?name != `null` && href != `null`] || `[]`)}"},"params":{"additionalProperties":false,"properties":{"query":{"description":"Search term, e.g. 'carte d'identité', 'permis de conduire', 'impôts'","maxLength":100,"minLength":2,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"One GET to /particuliers/recherche-generale?keyword=…, which answers 200 HTML with the result links server-rendered in ul#aggregatedElasticSearchResults. The search lives on service-public.gouv.fr, so that is the origin. Result hrefs are relative (/particuliers/vosdroits/…) and are joined to the origin.","recorded_at":"2026-11-08T15:20:32.000Z","recorded_by":"wield-forge (claude-haiku agent)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"FR","id":"service-public.fr","language":"fr","name":"Service-Public.fr","origin":"https://www.service-public.gouv.fr","origins":["https://www.service-public.gouv.fr"]},"steps":[{"description":"Server-rendered general search page /particuliers/recherche-generale?keyword=…; read-only GET. Results are the list items under ul#aggregatedElasticSearchResults, each with one link.","expect":{"content_type":"html","status":[200]},"extract":{"html_items":{"results":{"fields":{"href":{"attr":"href","selector":"a"},"name":{"selector":"a"}},"max":50,"selector":"#aggregatedElasticSearchResults > li"}}},"id":"search","request":{"headers":{"Accept":"text/html"},"method":"GET","query":{"keyword":"{{params.query}}"},"url":"/particuliers/recherche-generale"}}],"task":"Search French public service guides","tos":{"notes":"Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.","reviewed":false},"verify":{"checks":["length(output.results) > `0`","length(output.results[?title != `null`]) == length(output.results)","length(output.results[?starts_with(url, 'https://www.service-public.gouv.fr/particuliers/vosdroits/')]) == length(output.results)"],"example_params":{"query":"carte d'identité"},"max_ms":5000},"version":1}