# Description There's a _newish_ syntax for type annotating unions (with `|` instead of `Union`) which are supported officially (and recommended) by Python 3.10 onwards. However, their type is currently returned as `types.UnionType`, which doesn't match `Union`, and thus fail converting the tool params to JSON schema. PR #2379 fixes this issue (and a few others I identified, described in the PR).