Find a Contact
find_contactUse this when the user names someone to call or ask about ("call Ravi", "what did the bookshop say") and the person's number is needed. Searches the user's call history by name, loosely (part of a name matches), and returns up to 5 matches, each with a contactId, the full number and when they last spoke; the contactId goes straight into place_call. No match returns code not_found with an empty contacts list. Searches call history only; the user's phone book is searched by search_contacts.
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 name the user said, e.g. "Ravi". |