KosmoKrator

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, configure, and verify
# 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.

Generic CLI call
kosmo integrations:call google-search-console.google_search_console_sitemaps_list '{}' --json
Provider shortcut
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.

Discovery commands
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 read
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sitemaps_list '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sitemaps_submit '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sitemaps_delete '{}' --json
Shortcut
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 read
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sitemaps_get '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_url_inspection_index_inspect '{}' --json
Shortcut
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 read
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sites_list '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sites_add '{}' --json
Shortcut
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 read
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sites_get '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_sites_delete '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run '{}' --json
Shortcut
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 write
Parameters
none
Generic call
kosmo integrations:call google-search-console.google_search_console_searchanalytics_query '{}' --json
Shortcut
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
Schema command
kosmo integrations:schema google-search-console.google_search_console_sitemaps_list --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sitemaps_submit 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sitemaps_submit --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sitemaps_delete 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sitemaps_delete --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sitemaps_get 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sitemaps_get --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_url_inspection_index_inspect 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_url_inspection_index_inspect --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sites_list 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sites_list --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sites_add 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sites_add --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sites_get 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sites_get --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_sites_delete 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_sites_delete --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_url_testing_tools_mobile_friendly_test_run --json
ParameterTypeRequiredDescription
No parameters.
google-search-console.google_search_console_searchanalytics_query 0 parameters
Schema command
kosmo integrations:schema google-search-console.google_search_console_searchanalytics_query --json
ParameterTypeRequiredDescription
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.