update_prospect_variables
Edit personalization values for ONE CAMPAIGN only: the prospect's copy in that campaign. Unlike update_lead_variables this never touches the underlying lead or any other campaign, so use it when a value is right in general but wrong for this specific campaign's angle (to fix the value everywhere, use update_lead_variables). Pass prospect_id for one prospect or prospect_ids (up to 1000) to apply the same values to many; give exactly one of them. Not step-gated: the change applies to every remaining message for the prospect. The response names any variable it had to shorten to the 500 character cap in truncatedTokens, so a value that arrived over the limit is visible rather than silently cut. With many prospects, partial success is reported the same way as update_lead_variables: check failed / failedIds and retry only those, and check truncatedTokens for any variable that was cut on every id in the batch.
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": {
"values": "<values>"
},
"name": "update_prospect_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | Variable token -> new value, e.g. { recent_funding: 'Series C' }. Empty string deletes the value. Keys colliding with built-in variables are ignored. A value is TRIMMED AND TRUNCATED AT 500 CHARACTERS. That is not silent: the response names every variable it cut in `truncatedTokens`, so if you are writing a whole message into one variable rather than a short phrase, check that field and shorten the text if it appears. | |
| prospect_id | No | One prospect to update (id from list_campaign_prospects or search_prospects). Use this OR prospect_ids. | |
| prospect_ids | No | Many prospects to give the same values, up to 1000. Use this OR prospect_id. |