fine-tune
To make small, precise adjustments to something that already works so that it works as well as possible.
Tell
precise last-stage adjusting
Best when
Something is basically right and only needs exact, last-stage adjustment. This could be a machine, a plan, a piece of writing, a skill or a trained model.
Example
“Engineers fine-tuned the engine before the race.”