ToolMentionError
A subclass of AssertionError. With check_tool_mentions=True,
CallSimulator raises it from call() when the call’s
result, or the gate output that blocked it, names a tool that the step the call
ends up in doesn’t offer. The model reads the name and may call a tool it doesn’t
have.
The check runs after the result’s own step or context change. A name with an
underscore counts anywhere in the text; a one-word name counts only in backticks or
right before (. It isn’t run for a call the step itself refused.