sites_list
Retrieve all Google Search Console properties you can access. This tool lists sites for managing search analytics, sitemaps, and indexing tasks.
Instructions
List all sites (properties) you have access to in Google Search Console.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:136-150 (handler)The registration and handler implementation for the 'sites_list' tool in src/index.ts.
server.tool( "sites_list", "List all sites (properties) you have access to in Google Search Console.", {}, async () => { try { const result = await apiCall(`${WEBMASTERS_BASE}/sites`, { method: "GET", }); return toolResult(result); } catch (e) { return errorResult(e); } }, );