yd_set_client_id
Save your Yandex OAuth client ID and receive an authorization link to connect your app with Yandex marketing APIs.
Instructions
Save the Yandex OAuth application client_id and return the authorization link. Register an app at https://oauth.yandex.ru/client/new with scopes direct:api, metrika:read, metrika:write, cloud:auth and redirect 'Подставить URL для разработки'.
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>"
},
"name": "yd_set_client_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | Client ID of your Yandex OAuth app | |
| client_login | No | Optional. Override Client-Login for this call (agency multi-account). |