Search French public service guides.
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.
- Site
- Service-Public.fr, France
- Version
- v1
- Runs, last 7 days
- No reports yet
- sha256
- 736f910e6958…
Run it with your agent
after installing WieldAsk in plain words. Your agent finds this recipe and calls it:
“Search French public service guides.”
Read-only: it changes nothing on the site. No login needed.
{ "tool": "run", "arguments": { "recipe_id": "service-public.fr/search-government", "params": { "query": "carte d'identité" } } }
Requests
sent from your browser, in order- 1GET/particuliers/recherche-generale?keywordServer-rendered general search page /particuliers/recherche-generale?keyword=…; read-only GET. Results are the list items under ul#aggregatedElasticSearchResults, each with one link.
Parameters
from your agentquerystringrequiredSearch term, e.g. 'carte d'identité', 'permis de conduire', 'impôts'
Returns
to your agentquerystring
resultsobject[]title, url
Where it can send
- www.service-public.gouv.fr
Anything else is blocked by the extension.
Reads from your session
Nothing. Your browser attaches the site's cookies by itself.
Used only in requests to the addresses on the left. Never sent to wield.run or your agent.
Checks
a run passes when- 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)
Raw recipe
Served as canonical JSON from /api/v1/recipes/service-public.fr/search-government, so its sha256 matches the ETag and the index.
Check it yourself
curl -s https://wield.run/api/v1/recipes/service-public.fr/search-government | shasum -a 256 # 736f910e6958f5fc64601025328eb0840293113c0bb4922450af2b924aa9674a
service-public.fr/search-government.json, v1
{ "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 }