Send a friend request
play_send_friend_requestSend a friend request to another user. Pass targetUserId (the recipient's User _id) — use play_find_friend to look them up first.
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": {
"targetUserId": "<targetUserId>"
},
"name": "play_send_friend_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetUserId | Yes | Mongo `_id` of the user to send the friend request to. Use play_find_friend to locate it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||