set_active_account
Switch the active Microsoft Advertising account for the current session. Use search_accounts to find account IDs and verify with account_health after switching.
Instructions
Switch which account subsequent tool calls read from and write to (this session only).
Use search_accounts to find ids. The OAuth credential is unchanged; this only rescopes calls. Confirm the target with account_health afterwards before any write.
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": {
"account_id": "<account_id>"
},
"name": "set_active_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The advertising account id to make active. | |
| customer_id | No | Optional manager (customer) id that owns the account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||