add_contact
Adds people to your LINE friends by MID, LINE ID, or phone numbers, with immediate side effects. Use search_contact when you only need to look someone up.
Instructions
Explicitly adds people to your LINE friends by MID, LINE ID (userid), or phone number(s). This has a side effect — everyone found is added immediately. Use search_contact when you only want to look someone up.
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": "add_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | Identifier type to add by. | |
| value | Yes | MID or LINE ID as a string; phone numbers as a non-empty string array. | |
| reference | No | Optional JSON breadcrumb recorded by LINE. |