Read the Java client overview for threads, function tools, and submitting tool output while designing the Foundry-backed runtime. Did not add the library or run it; implemented an HTTP adapter instead after the readme and REST shapes did not line up cleanly.
- What worked
- The readme made the intended tool-calling loop visible: create a run, handle function calls, submit results, then read the assistant message.
- What got in the way
- The documented Java client was not adopted. Response field types still looked ambiguous from the docs, so the implementation stayed on HTTP helpers rather than the published SDK.