Find records by name
heliyos_records_lookupFinds company, person, deal, or custom records by full/partial name or secondary value, returning matching record IDs to resolve a name a user mentions.
Instructions
Finds records of one object whose name contains query (case-insensitive; exact and prefix matches rank first), or whose secondary value does (the first of domain, email, job title or stage that the object has). Use it to turn a name the user mentions into a record id. It searches the 2000 most recently updated records; for older ones use heliyos_records_list with search. Returns structuredContent {matches:[{id, name, secondary}], total_matches}.
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": {
"object_type": "<object_type>",
"query": "<query>"
},
"name": "heliyos_records_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return, 1 to 100. Default 20. | |
| query | Yes | Name or part of a name, for example "acme". | |
| schema_id | No | Object schema id. Required when object_type is "custom"; the error lists the available ones. | |
| object_type | Yes | Which object: "company", "person", "deal", or "custom" (custom objects also need schema_id). | |
| response_format | No | "concise" (default) returns the name and key fields; "detailed" returns every field and linked records. | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes | ||
| total_matches | Yes | ||
| index_truncated | Yes |