pub fn validate_unknown_tool_failure(
error: &PromptError,
expected_tool: &str,
expected_allowed_tools: &[&str],
) -> Result<(), ScenarioError>Available on crate feature
test-utils only.Expand description
Validate the portable diagnostics carried by an unknown or disallowed tool call failure.