Refresh a connected account's profile
account_refresh[writes flayr data · write scope] Re-reads a connected account's handle, display name and avatar from the network (use after the user renames the account) and returns the stored values. Changes nothing else: no connect, disconnect or post. If the status is not updated, tell the user to reconnect the account at the returned reconnectUrl.
(Wraps POST /api/v2/accounts/{id}/refresh.)
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": {
"id": "<id>"
},
"name": "account_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An account id from GET /api/v2/accounts. | |
| brandId | No | The brand the account is connected to, as for GET /api/v2/accounts. |