Cancel a friend request
play_cancel_friend_requestCancel a friend request the calling user previously sent. Pass friendId — the _id of the friend record on the calling user's own friends list (the one the caller initiated).
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": {
"friendId": "<friendId>"
},
"name": "play_cancel_friend_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| friendId | Yes | `_id` of the friend record on the calling user's friends list. NOT the other user's id. Use play_list_pending_friends (for accept/decline) or play_list_my_friends (for remove) to obtain it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||