Descubrir mi sucursal
discover_branchAutomatically retrieves the branch code from the browser by executing a snippet on the supermarket website, avoiding manual input. Returns the branch ID or a hint if no store is selected.
Instructions
Obtiene el código de sucursal (branchId, ej. "jumboclj512") leyéndolo del navegador, para no pedírselo al usuario. Devuelve un browserSnippet para ejecutar en www.jumbo.cl (con la comuna/tienda ya elegida). El snippet retorna { found, branchId } o, si no hay tienda elegida, { found:false, hint }. Pasa ese resultado en discovered para que la tool lo valide y te confirme el branchId a usar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Cadena Cencosud. Por ahora jumbo/santaisabel. | jumbo |
| discovered | No | Resultado del browserSnippet, si el navegador ya lo ejecutó ({ found, branchId, ... }). |