For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

agentengine context current

Show the context commands run here will use, and where it came from.

Reports the context in effect for the current directory: its base URL, organization, and project, plus the tier that named it, either a --context flag or the directory’s pin.

Fails if nothing names a context, so a script can use it as a check.

agentengine context current [flags]
agentengine context current
agentengine context current --context prod
--context string Report this context instead of the directory's pin
-h, --help help for current
--json Output JSON
--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)
Rate this page