send_message
傳訊息。對商品第一次聯絡賣家用 listing_id(會自動開一條對話);回覆既有對話用 thread_id。賣家用 listing_id 回覆時要加 to_user_id 指定買家。要附圖請先用 API「上傳訊息附圖」拿到附圖編號放進 image_ids(最多 4 張);不接受直接給圖片網址。本平台不經手任何款項:成交、付款與交貨由使用者和賣家私下約定。面交或付款方式請雙方在訊息裡談好;訊息若被判斷有詐騙風險(要先匯款到陌生帳戶、要驗證碼、要離開平台到不明連結),回應會帶 fraud_flag 與提醒,訊息仍照常送出。需要有「出價」權限的金鑰或短效授權。標示【示範】的刊登是平台示範資料,不可交易、請勿推薦給使用者(欄位 is_demo=true)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | 訊息內容(文字與附圖至少要有一樣) | |
| image_ids | No | 附圖編號清單(先上傳取得) | |
| thread_id | No | 回覆既有對話時填:對話編號 | |
| listing_id | No | 商品編號,例如 lst_iphone13b128 | |
| to_user_id | No | 只有賣家用 listing_id 回覆時需要:買家的使用者代號 |