MCPFerramentas MCP/Conexões/refresh_connection
refresh_connection
Writeconnections:write
Refresh or extend a connected account's platform token using its stored refresh token — no browser interaction needed. Use this when list_connected_accounts shows connectionStatus RENEW or credentialsValid false. Supported platforms: google, facebook, instagram, linkedin, x, pinterest. If it fails, the credential is likely fully revoked and needs a fresh OAuth connect in the app UI (MCP can't do that part). Identify the account by its connectionId.
Parâmetros
connectionIdstringobrigatório
The id of the connected account to refresh (required).
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "refresh_connection",
"arguments": {
"connectionId": "string"
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.