register_webhook
登記事件推送網址。現在只有使用者本人能在帳號頁用 Face ID 或指紋建立,AI 與 API 金鑰呼叫這個工具一律回 403 human_only:請告訴使用者到帳號頁的開發者區自己建立。
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": {
"url": "<url>"
},
"name": "register_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 接收推送的 https 網址 | |
| events | No | 要訂閱的事件:message.received 新訊息、offer.received 新出價、listing.sold 已售出、listing.withdrawn 已下架;不填就訂閱前四種(user.blocked 你封鎖了某人要明確列出才會收到) |