From 4d559c9135625747ad2ebe9bdd153803676fdd0f Mon Sep 17 00:00:00 2001 From: 0xfandom <50949929+0xfandom@users.noreply.github.com> Date: Wed, 22 Apr 2026 19:46:47 +0530 Subject: [PATCH] docs(env): document OPENCLAUDE_DISABLE_STRICT_TOOLS in .env.example (#826) Code support was merged in #770 but the .env.example entry was missed, leaving users without a discoverable way to find the flag. Closes #737 --- .env.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.env.example b/.env.example index 553d245e..609cb1e1 100644 --- a/.env.example +++ b/.env.example @@ -267,6 +267,11 @@ ANTHROPIC_API_KEY=sk-ant-your-key-here # Disable "Co-authored-by" line in git commits made by OpenClaude # OPENCLAUDE_DISABLE_CO_AUTHORED_BY=1 +# Disable strict tool schema normalization for non-Gemini providers +# Useful when MCP tools with complex optional params (e.g. list[dict]) +# trigger "Extra required key ... supplied" errors from OpenAI-compatible endpoints +# OPENCLAUDE_DISABLE_STRICT_TOOLS=1 + # Custom timeout for API requests in milliseconds (default: varies) # API_TIMEOUT_MS=60000