Discover and store the ad accounts reachable through a connection
connections_discoverAccountsDiscovers and stores ad accounts reachable through a connection, returning a preview unless confirm is true. Use it to locate and save account IDs before campaign or analytics operations.
Instructions
Discover and store the ad accounts reachable through a connection (POST /v1/connections/{id}/discover). WRITE: not executed unless confirm: true (this operation has no server-side dry run).
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": "connections_discoverAccounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| confirm | No | Set true to execute. Without it nothing is sent and a preview of the request is returned. | |
| idempotencyKey | No | Idempotency-Key; generated when omitted |