Change a Frank website widget
configure_embedChanges one widget format's settings: intro copy, button labels, the floating launcher's position, how participants are identified, consent options and appearance. Only the fields you pass change, and the other formats are left alone. Protected domains and the on/off switch cannot be changed here — the user changes those in the Frank dashboard. Returns the full configuration and snippet; snippetChanged says whether the snippet already on the site has to be replaced.
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": {
"researchId": "<researchId>",
"type": "<type>"
},
"name": "configure_embed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Which widget format: floating, inline or popup. | |
| connect | No | Variable mode only: which user fields the snippet passes. | |
| consent | No | ||
| appearance | No | ||
| researchId | Yes | The Frank research ID, as returned by list_researches. | |
| identityMode | No | How participants are identified. email: the widget asks for their name and email. anonymous: nothing is collected. variable: the host page passes its signed-in user through Frank('identify'). | |
| floatingAlign | No | Floating widget only: where the launcher sits. | |
| startingContent | No |