g_set_credentials
Save Google OAuth client ID and client secret to authenticate with Search Console, Indexing, Analytics, and Tag Manager APIs.
Instructions
Save the Google OAuth app client_id and client_secret. Create a 'Desktop app' OAuth client at https://console.cloud.google.com/apis/credentials and enable the Search Console, Indexing, Analytics Admin/Data, Tag Manager APIs.
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": {
"client_id": "<client_id>",
"client_secret": "<client_secret>"
},
"name": "g_set_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | ||
| client_secret | Yes |