search_contact
Find LINE contacts read-only by user ID, phone number, or invite/QR ticket to retrieve their MID and display name without adding a friend or sending a request.
Instructions
Pure read-only contact search on LINE TalkService. Looks up a person by LINE ID (userid), phone number(s) (phone), or an invite/QR ticket (ticket). Never adds a friend or sends a friend request — use add_contact for that. Returns mid + display_name.
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": {
"by": "<by>",
"value": "<value>"
},
"name": "search_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | Identifier type to search by. | |
| value | Yes | LINE ID or ticket as a string; phone numbers as a non-empty string array. |