List Webmaster hosts
get_hostsList your Yandex Webmaster hosts with their IDs, URLs, and verification state. Call this first to get the host_id needed by other tools; optionally pass a hostId for a host summary.
Instructions
Discovery tool: list the sites (hosts) available to your Yandex Webmaster token, each with its host_id, URL and verification state. host_id is what every other tool needs to identify a site. Optionally pass hostId to also fetch that host summary (SQI, indexed/excluded page counts, site problems). Read-only. Call this first.
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_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostId | No | Optional host id (e.g. "https:example.com:443"). When set, the response also includes that host summary. Defaults to YANDEX_WEBMASTER_HOST_ID if configured. |