order
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
by 04551lh · published 2026-03-20
$ claw add gh:04551lh/04551lh-order---
name: android-order
description: >-
Order food/drinks (点餐) on an Android device paired as an OpenClaw node.
Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
version: 1.0.0
user-invocable: true
metadata:
openclaw:
capabilities: ["order"]
commands:
- name: order.getGoods
description: Get the menu / goods list (id, name, price).
params: []
- name: order.getSelectedGoods
description: Get current cart / selected items.
params: []
- name: order.addGoods
description: Add a product to the cart by id or name (fuzzy). Default quantity 1.
params:
- name: id
type: string
description: Goods ID from the menu (e.g. "1").
- name: name
type: string
description: Goods name, supports fuzzy match (e.g. "拿铁", "美式").
- name: quantity
type: string
description: Quantity, default "1".
- name: order.removeGoods
description: Remove a product from the cart by id or name.
params:
- name: id
type: string
description: Goods ID.
- name: name
type: string
description: Goods name (fuzzy).
- name: quantity
type: string
description: Quantity to remove, default "1".
- name: order.clearGoods
description: Clear all items in the cart.
params: []
- name: order.submitOrder
description: Submit the current cart as an order (demo; no real payment).
params: []
- name: order.batchAddGoods
description: Add multiple items at once. list is JSON array [{"id":"1","quantity":2},...].
params:
- name: list
type: string
description: JSON array of objects with id and quantity.
---
# Android Order Skill (点餐)
This skill uses the paired Android device (`OpenClaw SMS Demo` app with order capability) to manage an in-app menu and cart: get menu, add/remove items, view cart, submit order. Inspired by EdgeOSToolService (MEOW PAY); implementation is in-memory on the device (demo, no real POS backend).
When to use this skill
Commands overview
| Command | Description |
|--------|-------------|
| `order.getGoods` | Return menu (id, name, priceCents, price). |
| `order.getSelectedGoods` | Return current cart with quantities and subtotals. |
| `order.addGoods` | Add by `id` or `name` (and optional `quantity`). |
| `order.removeGoods` | Remove by `id` or `name` (and optional `quantity`). |
| `order.clearGoods` | Clear cart. |
| `order.submitOrder` | Submit cart as order; returns summary (demo only). |
| `order.batchAddGoods` | Add multiple items: `list` = `[{"id":"1","quantity":2},...]`. |
How to call the underlying commands
Invoke via the OpenClaw gateway node invoke API:
order.getGoods
order.getSelectedGoods
order.addGoods
```json
{ "id": "1", "quantity": "2" }
```
or
```json
{ "name": "拿铁", "quantity": "1" }
```
order.removeGoods
order.clearGoods
order.submitOrder
order.batchAddGoods
Error handling
Demo menu (default on device)
The in-app menu includes items such as: 拿铁, 美式, 卡布奇诺, 三明治, 沙拉, 蛋糕 (with ids "1"–"6"). Use `order.getGoods` to get the current list and prices.
Safety notes
More tools from the same signal band
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...
name: trending-news-aggregator