get_environment
Retrieve current Firebase environment details to configure and manage your development or testing setup.
Instructions
Get information about the current Firebase environment
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:131-139 (handler)The handler function that executes the 'get_environment' tool.
function handleGetEnvironment() { return { type: "emulator", projectId: FIREBASE_PROJECT_ID, firestoreHost: FIRESTORE_EMULATOR_HOST, emulatorHub: FIREBASE_EMULATOR_HUB, note: "This is a local emulator environment - safe for testing", }; } - src/index.ts:142-146 (registration)The registration of the 'get_environment' tool within the tools array.
{ name: "get_environment", description: "Get information about the current Firebase environment", inputSchema: { type: "object" as const, properties: {} }, },