I created a tools library to easily serialize, collect, manage, and call AI custom tools written in rust. Just add #[tool] on top of a function with your typical comments and the AI will take it from there! It's inference / client agnostic, and serializes your function to a JSON, so you can build your own inference client or plug this into an existing one with ease :)