google_search_console_list_sites

List Search Console Properties

Google

Description

List all Google Search Console properties (sites) the user has access to. Use this tool first to discover which properties are available before calling other tools. Results are cached for 15 minutes; pass refresh=true only when you need the latest list. Args: refresh (bool, optional): Force a fresh fetch from the API, bypassing cache. Default: false. Returns: data: every site property, with siteUrl and permissionLevel (siteOwner, siteFullUser, siteRestrictedUser, siteUnverifiedUser). cached, synced_at Not paginated: the Search Console sites endpoint takes no page size or page token and returns the whole list at once, so this single call is already the complete set — there is no cursor to follow.

Read-onlyOpen-world

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "google_search_console_list_sites",
    "arguments": {
      "reason": "Get all Search Console properties"
    }
  }
}

Parameters

NameTypeRequiredDescription
reason string Required Why this tool call is neededminLength: 1, maxLength: 500
Optional parameters (2)
NameTypeRequiredDescription
refresh boolean Optional Force a fresh fetch from the API, bypassing cache
connection_id string Optional Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.

Examples

List sites

{
  "reason": "Get all Search Console properties"
}

hopkin google ch-console-list-sites

Force refresh

{
  "refresh": true,
  "reason": "Need latest site list"
}

hopkin google ch-console-list-sites --refresh true