Enriquecer campo
enrich_fieldEnrich ONE specific sheet field for one person/company row. Uses the same field catalogue and provider cascade as the dashboard, stops as soon as that field is found, and returns found/not_found/error deterministically. Valid field ids and their inputs come from the enrichment field catalogue. First it looks the lead up in this workspace (people sheets, campaigns and kept briefs, by email, LinkedIn, or full name with the company): a value already saved comes back free, with savedIn naming the place it was saved. Only a found value is charged: creditsCharged is what this call cost, 0 when nothing was found, the lookup failed or the value was already saved. not_found with sourcesUnanswered means the sources that answered had nothing but that many others did not answer in time, so a later retry may find it; error means no source answered at all. Every result names the person it was looked up for (person: name, LinkedIn, company), so parallel calls are told apart by person, not by order. A mobile is checked against the registry's owner of the number before it is kept: phoneOwner is confirmed (the owner has the person's name) or unconfirmed (the registry has no name for it); a number of someone else is dropped and not charged (phonesDiscarded counts them). A mobile found for a person of this workspace's campaigns or people sheets is saved there (prospectId, or sheetId and rowId, identify the person; the LinkedIn profile also matches): savedTo says where.
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": {
"fieldId": "<fieldId>"
},
"name": "enrich_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpj | No | Brazilian company registry number. | |
| No | |||
| phone | No | ||
| rowId | No | The sheet row this lookup is for, with sheetId: a mobile found is saved to its phone column. | |
| fieldId | Yes | Field id from the enrichment field catalogue, e.g. "work_email". | |
| refresh | No | True skips what this workspace has saved and looks the value up outside again. | |
| sheetId | No | The people sheet of the row this lookup is for, with rowId. | |
| fullName | No | ||
| location | No | Person location hint used to reject off-country phones. | |
| prospectId | No | The campaign prospect this lookup is for, when known: a mobile found is saved to them. | |
| companyName | No | ||
| linkedinUrl | No | ||
| companyDomain | No | ||
| personalEmail | No | Personal/webmail address used by phone finders. | |
| providerOrder | No | Optional exact provider cascade. Every name must belong to the selected field. Omit it to use the field's configured cost-conscious order. |