{"name":"tengu_malformed_tool_use_clean_retry","slug":"tengu-malformed-tool-use-clean-retry","family":"flag","title":"Feature flags","noun":"feature flag","description":"Default `false`. When a response stops with `tool_use` but no tool call could be parsed, Claude Code retries once; with this flag on, the malformed assistant messages are tombstoned and dropped from the retry and the nudge reads `The previous response failed to produce a valid tool call. Please retry the tool call now.` With it off, the malformed messages stay in the history and the nudge is `Your tool call was malformed and could not be parsed. Please retry.`","description_source":"code","described_by":{"bundle":"2.1.250","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.174","removed_in":"2.1.251","in_current_build":false,"newest_mined":"2.1.309","builds":68,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-malformed-tool-use-clean-retry","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}