AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。

agentengine エージェントエグレスモード

エージェント.yaml で egress_mode を設定します。

agent.yaml で network.egress_mode を設定します。

モードはdeny_all、allow_list、またはallow_allです。allow_allには--confirm-allow-allが必要ですが、そのサンドボックスにまだ宛先がリストされている間は拒否されます。先にそれらを除くか、allow_listを使用してください。--confirm-allow-allはallow_allでのみ有効です。

これはローカルファイルを編集するものであり、実行中のワークスペースは変更されません。新しいモードを適用するには、再デプロイしてください。

例:

agentengine agent egress mode allow_all --confirm-allow-allagentengine agent egress mode deny_all
agentengine agent egress mode MODE [flags]
--component string Target a single sandbox: agent or tool. Omit to apply to both. --confirm-allow-all Required acknowledgement when MODE is allow_all.-h, --help help for mode --workspace string Monorepo: select a specific workspace by name (from root agent.yaml)
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
このページを評価