runtime_flags
Reads process-level container flags set at boot to verify values like VOICE_LIVE_SIM_ENABLED, so you can catch unset flags before a sim run bills a real provider.
Instructions
Process-visible values of a small curated list of container-level
flags THIS process was booted with — plain os.getenv reads, not routed
through core/env_resolver.py, so they are invisible to the env_vars tool
and /admin/env-vars (which CRUD the agent_env_vars table, a different
read path entirely). Flags, not secrets — nothing on this list is
sensitive, and it must stay that way; never add a secret-valued var
here. Chiefly for VOICE_LIVE_SIM_ENABLED: endpoints/voice_live.py reads
it with a bare os.getenv, so a voice-eval sim run against a stack
without it set silently degrades to a real billable provider session
instead of erroring — check this before trusting a sim run's cost
profile. value is null when the var is unset on this process (not the
same as being set to an empty string).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "runtime_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |