MCPFerramentas MCP/Conexões/sync_ad_accounts
sync_ad_accounts
Writeconnections:write
Re-fetch a connected account's ad accounts from the platform (Facebook/Instagram/LinkedIn/TikTok), refreshing names/status/currency and picking up newly-granted accounts. Runs automatically on connect and daily; call this to force an immediate refresh. Returns the refreshed list.
Parâmetros
connectionIdstringobrigatório
The id of the connected account (required).
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "sync_ad_accounts",
"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.