Skip to content
Connect an agent

Accounts

reconnect_account

Reconnect an account. For an account that is needs_reconnect, disconnected, or near its reconnectBy. Returns a session with an authorizationUrl for the person to open; they must sign in as the same platform user, or it fails with wrong_account. Then call get_connect_session until it is not pending.

TL;DR

QuestionAnswer
What does it do?For an account that is needs_reconnect, disconnected, or near its reconnectBy. Returns a session with an authorizationUrl for the person to open; they must sign in as the same platform user, or it fails with wrong_account. Then call get_connect_session until it is not pending.
Does it change anything?Changes something.
Which endpoint does it call?POST /v1/accounts/{id}/reconnect
Which server?https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key).

Arguments

ArgumentTypeRequiredDescription
accountIdstringyesAn account id (acct_...) from list_accounts. at least 1 character; at most 64 characters; pattern ^acct_[a-z2-7]+$.
redirectUrlstringnoWhere to send the person afterwards. Omit it for Flung's own page. at most 2048 characters.

Example call

json
{  "name": "reconnect_account",  "arguments": {    "accountId": "acct_aaaaaaaaaaaaaaaaaaaaaaaa"  }}

Things a person might say

  • "My Instagram stopped posting, fix it."
  • "Reconnect the accounts that are about to expire."

Annotations

HintValue
readOnlyHintfalse
destructiveHintfalse
idempotentHintfalse
openWorldHinttrue

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
POST /v1/accounts/{id}/reconnectThe same operation over HTTP