KosmoKrator

other

Firebase CLI for Headless Automation

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

7 functions 7 read 0 write Manual OAuth token auth

Firebase 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 Firebase CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Firebase CLI for Headless Automation
kosmokrator integrations:configure firebase --set access_token="$FIREBASE_ACCESS_TOKEN" --set project_id="$FIREBASE_PROJECT_ID" --enable --read allow --write ask --json
kosmo integrations:call firebase.firebase_list_projects '{"page_size":1,"page_token":"example_page_token"}' --json

Discovery Before Execution

Agents and scripts can inspect Firebase docs and schemas before choosing a function.

kosmo integrations:docs firebase --json
kosmo integrations:docs firebase.firebase_list_projects --json
kosmo integrations:schema firebase.firebase_list_projects --json
kosmo integrations:search "Firebase" --json
kosmo integrations:list --json

Useful Firebase CLI Functions

FunctionTypeParametersDescription
firebase.firebase_list_projects Read page_size, page_token List all Firebase projects the caller has access to. Returns project display names and IDs.
firebase.firebase_get_project Read name Get details of a specific Firebase project by its resource name.
firebase.firebase_list_databases Read parent List Cloud Firestore databases in a Firebase project.
firebase.firebase_list_documents Read parent, collection_id, page_size, page_token, order_by List documents in a Firestore collection.
firebase.firebase_list_collections Read parent, page_size, page_token List collection IDs under a Firestore document or database root.
firebase.firebase_list_users Read max_results, page_token List users in a Firebase project via the Identity Toolkit API.
firebase.firebase_get_current_user Read none Get the currently authenticated OAuth2 user profile information.

Automation Notes

Related Firebase CLI Pages