Lancer un test d'achat privé
lancer_testStarts a PRIVATE full purchase test of ANY online store by the Neoavis AI shopping agent: it looks for the product, opens its page, adds it to the cart and goes to checkout, without paying. Requires an Agency plan access key (X-Api-Key header, or ?cle=nk_… in the server URL); each test counts against the key's monthly quota. Use it when the user asks to test, audit or re-test a store (a client's site, a competitor, a check before launch). To read what Neoavis already published about a tracked store, use consulter_marchand (free); for an instant machine-readability check without a purchase journey, use verifier_site (free). Returns: id (test id), statut (en_attente), domaine, produit, dossier (private evidence report page to give the user), resultat (URL of the JSON result), delai (the test runs asynchronously, usually within the hour on business days) and quota (par_mois, utilises, restants, remise_a_zero). Then call lire_test with the id. Error results, never counted against the quota: no key or a key without tests (the answer gives the plan page), monthly quota reached (with the reset date), three tests already pending, invalid site or product. Nothing is published: a private test never changes a public Neoavis page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "lancer_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Domain or URL of the online store to test, e.g. exemple-boutique.fr. | |
| langue | No | Language of the evidence report page and of the notification e-mail: fr (default) or en. | |
| produit | No | Product the agent will look for on the store, 2 to 60 characters, e.g. "crème hydratante". Optional only for a store Neoavis already tracks, where the usual test product is used. |