.agents/skills/runtime-behavior-probe/references/openai-runtime-patterns.md
Use this reference for recurring OpenAI investigations so you do not have to rediscover the probe strategy each time. In this repository, use $openai-knowledge up front for contract-sensitive details, then use this reference to design the runtime validation. If the docs MCP is unavailable, fall back to the official OpenAI docs and say so in the report.
tool_choice.container_auto and container_reference as distinct setup modes, not interchangeable details.Do not read these variables automatically. Before a live probe uses any of them, tell the user the exact variable names you plan to read and why each one is needed, then wait for explicit approval. Never print their values:
OPENAI_API_KEYOPENAI_BASE_URLOPENAI_ORG_IDOPENAI_PROJECT_IDIf the task targets another standard integration, use that integration's expected default variable names under the same rule.
For Responses API work, start from the uncertainty instead of from the full feature surface.
Use when you need to compare models, settings, transports, or providers with enough rigor to support a product or release decision.
Probe suggestions:
Use when you need to confirm:
Probe suggestions:
Use when you need to observe:
Probe suggestions:
Use when you need to learn:
Probe suggestions:
When probing hosted tools through the Responses API, eliminate common setup ambiguity first:
tool_choice. A text-only completion without forced tool choice is not a reliable negative result.container_auto and container_reference differently. Use container_auto when the probe needs fresh container provisioning or skill attachment, and use container_reference only to reuse existing container state.cached_tokens.Use when the uncertainty involves:
Probe suggestions:
For OpenAI probes, try to record:
Do not spend time rediscovering static documentation unless the runtime result seems to contradict what you expected. The value of this skill is in the observed behavior.