Studio: add Anthropic and OpenAI prompt guards for disabled tools (#5674)
* Add Anthropic prompt guards for disabled tools * fix: merge Anthropic tool guard into structured system prompts * fix: scope Anthropic disabled-tool guard wording * chore: adjust claude guard prompt * chore: add openai to list of prompt guarded providers * Studio: include web_fetch in the per-turn disabled-tool guard Add webFetchEnabledForThisTurn alongside webSearchEnabledForThisTurn and codeExecEnabledForThisTurn. Use it in the enabled_tools payload so web_fetch follows the Search pill the same way web_search does, and mention "web fetch" in the disabled-tool guard prose on providers that ship the tool (Anthropic today; other providers stay inert via providerSupportsBuiltinWebFetch). --------- Co-authored-by: Roland Tannous <115670425+rolandtannous@users.noreply.github.com> Co-authored-by: Daniel Han <danielhanchen@gmail.com>
L
Lee Jackson committed
51736a776692c7aaff9dff7269677aceb2cc01c2
Parent: 228d1cd
Committed by GitHub <noreply@github.com>
on 5/22/2026, 2:03:56 PM