meta_ads_set_default_connection

Set Default Meta Connection

Meta

Description

Set the Meta connection that should be used by default for subsequent Meta Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).

Read-onlyIdempotent

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "meta_ads_set_default_connection",
    "arguments": {
      "connection_id": "00000000-0000-0000-0000-000000000001",
      "reason": "User picked their primary Meta workspace"
    }
  }
}

Parameters

NameTypeRequiredDescription
connection_id string Required UUID of the connection to mark as the actor's default Meta connection.
reason string Required Why this tool call is neededminLength: 1, maxLength: 500

Examples

Set default

{
  "connection_id": "00000000-0000-0000-0000-000000000001",
  "reason": "User picked their primary Meta workspace"
}

hopkin meta set-default-connection --connection-id 00000000-0000-0000-0000-000000000001