---
id: "asgard-ext-google-firestore"
lang: "ja-JP"
name: "Firestore"
vendor: "Google"
product: "Firestore"
category: "data"
summary: "読み取り専用の Google Cloud サービスアカウントで、組織が公開した Firestore のコレクションを Agent が検索・読み取りできるようにします。"
url: "https://www.asgard-ai.com/ja/extensions/asgard-ext-google-firestore"
docs: "https://cloud.google.com/firestore/docs/reference/rest"
source: null
usages: ["shared-account"]
produces: ["Workflow","Toolset","Agent"]
requires: {"asgard_cli":">=0.2.1","skills":[],"extensions":[],"platform":[]}
command: "asgard-cli extension get asgard-ext-google-firestore"
handoff: "asgard-cli で asgard-ext-google-firestore の Extension を取得してください。どのルートを使うか、一緒に判断してください。そのあと導入を始めてください。"
updated: "2026-11-24"
---

# Firestore

Asgard の Agent が Firestore データベースを読めるようにします。

- コレクションの中から条件に合うドキュメントを探す（例：ある顧客の未出荷の注文）
- 条件に合うドキュメントの件数を、内容を出さずに数える
- パスを指定して 1 つのドキュメントを読み、その下にあるサブコレクションを確認する

Agent は読み取りだけを行います。ドキュメントの作成、変更、削除はしません。組織が公開したコレクションだけを読み、組織が隠したフィールド（例：メールアドレス）は見えません。

## 準備するもの

- ネイティブモードの Firestore データベースがある Google Cloud プロジェクト。MongoDB 互換モードや Datastore モードのデータベースは使えません。
- そのプロジェクトでサービスアカウントとキーを作成できる人。作成したことがない場合は、FDE Agent が手順を 1 つずつ案内します（約 10 分）。
- Agent が読めるコレクションと、Agent に見せないフィールドを決めておくこと。
