Search Console: Login
gsc_auth_loginSign in with a Google account to authorize Search Console access, storing a refresh token and confirming which account's properties can be read.
Instructions
Sign in with Google: opens the consent screen in the browser and waits for it to finish, then stores a refresh token (mode 600) and reports the signed-in account. Pick the Google account that has access to the Search Console properties you want — the account, not any argument, decides which properties are readable. The app is unverified, so Google shows a warning first: Advanced → Go to (app). If no browser can be opened, or the wait runs out, returns the authorize URL instead and keeps listening for 5 minutes; call gsc_auth_status afterwards. Logging in again replaces the stored login.
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": "gsc_auth_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | Open the consent screen in the default browser. false only returns the URL. | |
| wait_seconds | No | How long to wait for the consent to complete before returning the URL instead. Defaults to 120. |