find_duplicates
Propose pairs of records that look like the same record, ranked by how alike their names are and whether they share a relationship. Works on companies, contacts, and a type this workspace defined. It PROPOSES only: nothing here merges anything, and the merge tools still require you to name both ids. Use it on a type with a declared identity too: the key cannot collide, so what is left to find is one person entered twice under two different keys. Walks the workspace a page at a time; pass the returned cursor to continue.
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": {
"objectType": "<objectType>"
},
"name": "find_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return. The page bound is published in the schema call, and asking for more is refused rather than quietly truncated. | |
| cursor | No | The opaque marker from the previous page. Store it and hand it back; do not parse it. A cursor is only ever emitted when another row really exists, so a page you were given is never empty. | |
| objectType | Yes | What is being surveyed: a canonical type (company, contact), or the key of a type this workspace defined. A workspace's own type is surveyed on its first indexed text field, which is the name the search index holds for it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| examined | Yes | ||
| candidates | Yes | ||
| nextCursor | Yes |