Find a saved name
find_contactLook up a person's saved phone number by name in SMSTunnel before sending an SMS. Returns up to 5 name-and-number matches, sends nothing, and never guesses a number.
Instructions
Find the phone number of a person by name. Use it when the user names a person instead of giving a number, for example "text Ana that I'm late". Read-only: it sends nothing.
It searches only the names the user saved in SMSTunnel, not the phone's contacts. It matches the start of any word of the name, ignoring case and accents, and returns up to 5 matches.
One match: still show the user the name, the number and the words, and wait for their OK before send_sms.
Several matches: list them (name and number) and ask the user which one they mean.
No match: ask the user for the number.
Never guess or complete a number.
Works only when the API key is allowed to look up names (a separate switch in the SMSTunnel dashboard, off by default).
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": {
"name": "<name>"
},
"name": "find_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The person's name or part of it, for example "Ana" or "Ana Pop": 2 to 60 characters, trimmed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | Yes | true when more saved names match than are shown: ask the user for a fuller name. | |
| matches | Yes | ||
| private | No | true when the account's names are private (only its SMSTunnel desktop app can read them), so none can be looked up here. |