get-user
Retrieve the current Yandex Webmaster user profile and user_id for calls that require an account ID before a host-scoped request. For site lists, use list-hosts instead.
Instructions
Get current Webmaster user info and user_id. Use when the user needs the Webmaster account id before a call that is not already scoped to a host. Do not use it to list sites; call list-hosts, which also returns the host_id every other tool expects.
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-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||