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

agentengine context create

名前付きプラットフォームターゲットを作成します。

プラットフォームのベースURL、組織、プロジェクトをバインドするNAMEという名前のコンテキストを作成します。--org-idまたは--project-idを指定しない場合、現在のログインで表示可能な組織とプロジェクトがプロンプトで表示されます。--base-urlは、ログインしている唯一のプラットフォームにデフォルト設定されます。複数のプラットフォームにログインしている場合は必須です。

すでに存在する名前を作成しようとすると失敗します。コンテキストはまだ再バインドできません。

agentengine context create NAME [flags]
agentengine context create prodagentengine context create local --base-url http://localhost:30050
--base-url string Platform API base URL (default: your current login, if you are logged into only one platform; required otherwise)-h, --help help for create --json Output JSON --org-id string Organization ID (default: prompts) --project-id string Project ID (default: prompts)
--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)
このページを評価