Wolt CLI
Tool repository: https://github.com/mekedron/wolt-cli
Open the repository for setup/build details, then use the local wolt binary:
wolt <group> <command> [flags]
Session Startup
- Inspect command tree once per session:
wolt --help
- Prefer machine output for agent work:
... --format json
- Parse
.datafrom the envelope and surface.warnings/.errorto the user.
Safety Rules
- Start read-only by default.
- Request explicit confirmation before mutating commands:
cart add,cart remove,cart clearprofile favorites add,profile favorites removeprofile addresses add,profile addresses update,profile addresses remove,profile addresses useconfigure(writes local profile credentials)
- Never describe
checkout previewas order placement. The CLI does not place final orders.
Auth Workflow
Use explicit profile names to avoid ambiguity:
wolt configure --profile-name default --wtoken "<token>" --wrtoken "<refresh-token>" --overwrite
wolt profile status --profile default --format json --verbose
Credential fallback for authenticated commands:
- Explicit flags (
--wtoken,--wrtoken,--cookie) - Selected profile auth fields
- Default profile auth fields
When refresh credentials are available, expired/401 access tokens are refreshed automatically and persisted back to local config.
Location Rules
Apply exactly:
- Use either
--address "<text>"or both--lat+--lon. - Do not combine
--addresswith--lat/--lon. - If no override is passed, profile location is used.
search venues/itemsandvenue show/hoursuse--addressor profile location (no direct--lat/--lonflags).discover,cart,checkout preview, andprofile favoritessupport--lat/--lon.
Command Selection
- Explore nearby options:
discover feed,discover categories,search venues,search items - Inspect one venue deeply:
venue show,venue categories,venue search,venue menu,venue hours - Resolve one item/options for basket actions:
item show,item options - Basket and pricing:
cart count/show/add/remove/clear, thencheckout preview - Account and history:
profile show/status/orders/payments/addresses/favorites
For large marketplace venues, prefer:
venue search <slug> --query "<text>"venue menu <slug> --category <category-slug>
instead of unrestricted full-catalog menu crawl.
Output and Diagnostics
--format json|yamlreturns envelope keys:meta,data,warnings, optionalerror.- On upstream failures, rerun with
--verboseto capture request trace and detailed diagnostics.
References
- Full command and flag matrix:
references/command-reference.md - Reusable high-confidence workflows:
references/workflows.md - Envelope/error parsing and automation notes:
references/output-and-errors.md