configure_jama
Apply environment variable values for Jama, embedding, and database settings, persist them to .env, and reload configuration in process.
Instructions
Apply configuration values at runtime and persist them to .env.
Accepts a mapping of env-var names to values (e.g.
``{"JAMA_URL":"...","JAMA_CLIENT_SECRET":"..."}`). Writes a complete
``.env`` (merging with existing values), reloads settings in-process, and
resets the Jama/RAG/DB singletons so subsequent calls use the new config.
Secrets are written to ``.env`` on disk only; they are never echoed back.
Args:
values: dict of {ENV_VAR: value}. Recognized keys: JAMA_URL,
JAMA_CLIENT_ID, JAMA_CLIENT_SECRET, EMBEDDING_BASE_URL,
EMBEDDING_API_KEY, JAMA_MCP_DB_PATH,
and any other key in the .env template.
Returns:
{"ok": true, "written": <abs .env path>, "applied_keys": [...]}
or {"error": ...}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes |