get_auth_url
Generate a sign-in URL to authenticate with your Microsoft Ads account. After user signs in, provide the returned URL to complete authentication.
Instructions
Begin one-time sign-in: returns an OAuth sign-in URL to give the user.
The URL targets the account's identity provider (Microsoft by default, or Google for
Google-federated accounts). Present it to the user as a clickable sign-in link, and ask
them to sign in with the account that manages the ad account. After they sign in,
the browser lands on a near-blank page whose address-bar URL contains a code=
value; have them paste that full URL back, then call complete_auth with it.
Only needed once, when no refresh token is configured. The minted token is persisted and auto-refreshed thereafter, so the user never has to repeat this.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_auth_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |