find_contact
Search friends by remark, nickname, or QQ number and groups by name or number, then return qq: or group: targets for messaging or group actions.
Instructions
Search friends (by remark, nickname or QQ number) and groups (by name or number). Returns ids to use as targets ("qq:" / "group:").
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": {
"query": "<query>"
},
"name": "find_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Limit to friends or groups | all |
| limit | No | Max results | |
| query | Yes | Name or number fragment |