analytics
Google Search Console CLI for AI Agents
Use the Google Search Console CLI from KosmoKrator to call Google Search Console tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Google Search Console CLI Setup
Google Search Console can be configured headlessly with `kosmokrator integrations:configure google-search-console`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure google-search-console --enable --read allow --write ask --json
kosmokrator integrations:doctor google-search-console --json
kosmokrator integrations:status --json Credentials
Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
No credentials are required.
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call google-search-console.google_search_console_sitemaps_list '{}' --json kosmo integrations:google-search-console google_search_console_sitemaps_list '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs google-search-console --json
kosmo integrations:docs google-search-console.google_search_console_sitemaps_list --json
kosmo integrations:schema google-search-console.google_search_console_sitemaps_list --json
kosmo integrations:search "Google Search Console" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
google-search-console.google_search_console_sitemaps_list
Sitemaps List (GET /webmasters/v3/sites/{siteUrl}/sitemaps).
read - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sitemaps_list '{}' --json kosmo integrations:google-search-console google_search_console_sitemaps_list '{}' --json google-search-console.google_search_console_sitemaps_submit
Sitemaps Submit (PUT /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sitemaps_submit '{}' --json kosmo integrations:google-search-console google_search_console_sitemaps_submit '{}' --json google-search-console.google_search_console_sitemaps_delete
Sitemaps Delete (DELETE /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sitemaps_delete '{}' --json kosmo integrations:google-search-console google_search_console_sitemaps_delete '{}' --json google-search-console.google_search_console_sitemaps_get
Sitemaps Get (GET /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}).
read - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sitemaps_get '{}' --json kosmo integrations:google-search-console google_search_console_sitemaps_get '{}' --json google-search-console.google_search_console_url_inspection_index_inspect
Url Inspection Index Inspect (POST /v1/urlInspection/index:inspect).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_url_inspection_index_inspect '{}' --json kosmo integrations:google-search-console google_search_console_url_inspection_index_inspect '{}' --json google-search-console.google_search_console_sites_list
Sites List (GET /webmasters/v3/sites).
read - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sites_list '{}' --json kosmo integrations:google-search-console google_search_console_sites_list '{}' --json google-search-console.google_search_console_sites_add
Sites Add (PUT /webmasters/v3/sites/{siteUrl}).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sites_add '{}' --json kosmo integrations:google-search-console google_search_console_sites_add '{}' --json google-search-console.google_search_console_sites_get
Sites Get (GET /webmasters/v3/sites/{siteUrl}).
read - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sites_get '{}' --json kosmo integrations:google-search-console google_search_console_sites_get '{}' --json google-search-console.google_search_console_sites_delete
Sites Delete (DELETE /webmasters/v3/sites/{siteUrl}).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_sites_delete '{}' --json kosmo integrations:google-search-console google_search_console_sites_delete '{}' --json google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run
Url Testing Tools Mobile Friendly Test Run (POST /v1/urlTestingTools/mobileFriendlyTest:run).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run '{}' --json kosmo integrations:google-search-console google_search_console_url_testing_tools_mobile_friendly_test_run '{}' --json google-search-console.google_search_console_searchanalytics_query
Searchanalytics Query (POST /webmasters/v3/sites/{siteUrl}/searchAnalytics/query).
write - Parameters
- none
kosmo integrations:call google-search-console.google_search_console_searchanalytics_query '{}' --json kosmo integrations:google-search-console google_search_console_searchanalytics_query '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
google-search-console.google_search_console_sitemaps_list 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sitemaps_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sitemaps_submit 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sitemaps_submit --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sitemaps_delete 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sitemaps_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sitemaps_get 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sitemaps_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_url_inspection_index_inspect 0 parameters
kosmo integrations:schema google-search-console.google_search_console_url_inspection_index_inspect --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sites_list 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sites_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sites_add 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sites_add --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sites_get 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sites_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_sites_delete 0 parameters
kosmo integrations:schema google-search-console.google_search_console_sites_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run 0 parameters
kosmo integrations:schema google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
google-search-console.google_search_console_searchanalytics_query 0 parameters
kosmo integrations:schema google-search-console.google_search_console_searchanalytics_query --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.