anthropic: Use an empty object if no tool input is provided (#26144)

This PR changes the default value when no input is provided with a tool
use from `null` to `{}`.

This fixes an issue I was seeing where tools that didn't accept input
were not being called correctly.

Release Notes:

- N/A
d0c2bef8c3Marshall Bowers committed on 3/5/2025, 7:17:44 PM· committed by GitHubparent87b3fef
1 file changedLine totals unavailable