get_contacts
Search or list WeChat contacts by nickname, remark name, or wxid. Provide a query to filter specific contacts, or leave it blank to fetch all contacts up to a specified limit.
Instructions
搜索或列出微信联系人。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回数量,默认50 | |
| query | No | 搜索关键词(匹配昵称、备注名、wxid),留空列出所有 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |