In a sync context, the user context is now available in tools as of Spring AI 1.1.0-M1
https://github.com/spring-projects/spring-ai/releases/tag/v1.1.0-M1
specifically this commit: