set_friend_add_request
Approve or reject incoming QQ friend requests by passing the original request flag; set approve to false to decline. Use the flag exactly as received from the request event.
Instructions
处理好友添加请求 flag 必须原样使用当前账号好友请求事件的 flag,不能根据 QQ 号构造。
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": {
"flag": "<flag>"
},
"name": "set_friend_add_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | ||
| approve | No |