KosmoKrator

productivity

Google Cloud Functions CLI for AI Agents

Use the Google Cloud Functions CLI from KosmoKrator to call Google Cloud Functions tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Google Cloud Functions CLI Setup

Google Cloud Functions can be configured headlessly with `kosmokrator integrations:configure google-cloud-functions`.

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-cloud-functions --enable --read allow --write ask --json
kosmokrator integrations:doctor google-cloud-functions --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-cloud-functions.google_cloud_functions_projects_locations_list '{}' --json
Provider shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_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-cloud-functions --json
kosmo integrations:docs google-cloud-functions.google_cloud_functions_projects_locations_list --json
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_list --json
kosmo integrations:search "Google Cloud Functions" --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-cloud-functions.google_cloud_functions_projects_locations_list

Projects Locations List (GET /v2/{+name}/locations).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_list '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_list '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_operations_get

Projects Locations Operations Get (GET /v2/{+name}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_operations_get '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_operations_get '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_operations_list

Projects Locations Operations List (GET /v2/{+name}/operations).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_operations_list '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_operations_list '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_set_iam_policy

Projects Locations Functions Set Iam Policy (POST /v2/{+resource}:setIamPolicy).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_set_iam_policy '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_set_iam_policy '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_abort_function_upgrade

Projects Locations Functions Abort Function Upgrade (POST /v2/{+name}:abortFunctionUpgrade).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_abort_function_upgrade '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_abort_function_upgrade '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade_as_gen2

Projects Locations Functions Commit Function Upgrade As Gen2 (POST /v2/{+name}:commitFunctionUpgradeAsGen2).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade_as_gen2 '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_commit_function_upgrade_as_gen2 '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_download_url

Projects Locations Functions Generate Download Url (POST /v2/{+name}:generateDownloadUrl).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_download_url '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_generate_download_url '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_setup_function_upgrade_config

Projects Locations Functions Setup Function Upgrade Config (POST /v2/{+name}:setupFunctionUpgradeConfig).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_setup_function_upgrade_config '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_setup_function_upgrade_config '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_list

Projects Locations Functions List (GET /v2/{+parent}/functions).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_list '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_list '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_get

Projects Locations Functions Get (GET /v2/{+name}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_get '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_get '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_create

Projects Locations Functions Create (POST /v2/{+parent}/functions).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_create '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_create '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_upload_url

Projects Locations Functions Generate Upload Url (POST /v2/{+parent}/functions:generateUploadUrl).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_upload_url '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_generate_upload_url '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_detach_function

Projects Locations Functions Detach Function (POST /v2/{+name}:detachFunction).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_detach_function '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_detach_function '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_test_iam_permissions

Projects Locations Functions Test Iam Permissions (POST /v2/{+resource}:testIamPermissions).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_test_iam_permissions '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_test_iam_permissions '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade

Projects Locations Functions Commit Function Upgrade (POST /v2/{+name}:commitFunctionUpgrade).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_commit_function_upgrade '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_patch

Projects Locations Functions Patch (PATCH /v2/{+name}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_patch '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_patch '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_rollback_function_upgrade_traffic

Projects Locations Functions Rollback Function Upgrade Traffic (POST /v2/{+name}:rollbackFunctionUpgradeTraffic).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_rollback_function_upgrade_traffic '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_rollback_function_upgrade_traffic '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_get_iam_policy

Projects Locations Functions Get Iam Policy (GET /v2/{+resource}:getIamPolicy).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_get_iam_policy '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_get_iam_policy '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_delete

Projects Locations Functions Delete (DELETE /v2/{+name}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_delete '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_delete '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_functions_redirect_function_upgrade_traffic

Projects Locations Functions Redirect Function Upgrade Traffic (POST /v2/{+name}:redirectFunctionUpgradeTraffic).

Write write
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_functions_redirect_function_upgrade_traffic '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_functions_redirect_function_upgrade_traffic '{}' --json

google-cloud-functions.google_cloud_functions_projects_locations_runtimes_list

Projects Locations Runtimes List (GET /v2/{+parent}/runtimes).

Read read
Parameters
none
Generic call
kosmo integrations:call google-cloud-functions.google_cloud_functions_projects_locations_runtimes_list '{}' --json
Shortcut
kosmo integrations:google-cloud-functions google_cloud_functions_projects_locations_runtimes_list '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

google-cloud-functions.google_cloud_functions_projects_locations_list 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_list --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_operations_get 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_operations_get --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_operations_list 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_operations_list --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_set_iam_policy 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_set_iam_policy --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_abort_function_upgrade 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_abort_function_upgrade --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade_as_gen2 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade_as_gen2 --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_download_url 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_download_url --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_setup_function_upgrade_config 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_setup_function_upgrade_config --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_list 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_list --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_get 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_get --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_create 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_create --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_upload_url 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_generate_upload_url --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_detach_function 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_detach_function --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_test_iam_permissions 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_test_iam_permissions --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_commit_function_upgrade --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_patch 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_patch --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_rollback_function_upgrade_traffic 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_rollback_function_upgrade_traffic --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_get_iam_policy 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_get_iam_policy --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_delete 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_delete --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_functions_redirect_function_upgrade_traffic 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_functions_redirect_function_upgrade_traffic --json
ParameterTypeRequiredDescription
No parameters.
google-cloud-functions.google_cloud_functions_projects_locations_runtimes_list 0 parameters
Schema command
kosmo integrations:schema google-cloud-functions.google_cloud_functions_projects_locations_runtimes_list --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.