KosmoKrator

analytics

Google Search Console CLI for Headless Automation

Use the Google Search Console CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Manual OAuth token auth

Google Search Console CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Google Search Console CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Google Search Console CLI for Headless Automation
kosmokrator integrations:configure google-search-console --set access_token="$GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call google-search-console.gsc_list_sites '{"pageSize":1,"pageToken":"example_pageToken"}' --json

Discovery Before Execution

Agents and scripts can inspect Google Search Console docs and schemas before choosing a function.

kosmo integrations:docs google-search-console --json
kosmo integrations:docs google-search-console.gsc_list_sites --json
kosmo integrations:schema google-search-console.gsc_list_sites --json
kosmo integrations:search "Google Search Console" --json
kosmo integrations:list --json

Useful Google Search Console CLI Functions

FunctionTypeParametersDescription
google-search-console.gsc_list_sites Read pageSize, pageToken List all sites the authenticated user has access to in Google Search Console. Returns site URLs and permission levels.
google-search-console.gsc_get_site Read id Get details for a specific site in Google Search Console, including permission level.
google-search-console.gsc_list_sitemaps Read site_url, pageSize, pageToken, shortUrls List sitemaps submitted for a site in Google Search Console. Returns sitemap URLs, types, and indexing status.
google-search-console.gsc_get_sitemap Read site_url, id Get details for a specific sitemap in Google Search Console, including indexing status and any errors.
google-search-console.gsc_list_search_analytics Read site_url, startDate, endDate, dimensions, type Query search performance data from Google Search Console — clicks, impressions, CTR, and average position. Group by dimensions like query, page, country, or device.
google-search-console.gsc_list_url_inspection Read site_url, pageToken, limit, inspectionResult Inspect URLs for a site in Google Search Console. Returns indexing status, crawl information, and any detected issues.
google-search-console.gsc_get_current_user Read none Get the authenticated user's profile from Google Search Console. Returns email and account information.

Automation Notes

Related Google Search Console CLI Pages