create a new tool in /tools and add the router block/line in main.rs and mod.rs using the boilerplate_example.rs to structure the tool.
tool args are defined in the code.
sloppy/simple approach but seems to work..
replace insertuserhere in the path with yours in the mcp.json for lm studio(needs to be double slashed)
.exe doesn't need to be running, just needs to exist at the path.
server address in .env so it doesn't need to be re-compiled to change it.
an example of the boilerplate for the tools main.rs expects. simple echo back if tool used.
gets the user's time in local format, 12hr by default or the supported formats if requested.
attempts to parse current rust crate version for the crate the llm intends to use and pull some hopefully updated documentation. (experimental, works better if you tell it which crates you want info on)