The sentence "I will find a way" typically conveys an intention or a future plan, so it’s closer to meaning #1: intention to find a way. For example, if you're determined to solve a problem or achieve something, you might say, "I will find a way."
However, it could also be interpreted as meaning #2 (ability to find a way) in a context where you're expressing confidence in your ability to figure something out, like "No matter the challenge, I will find a way."
The context in which it's used will determine which meaning is intended.
If you want to make the meaning clearer, you could specify:
1. Intention: "I will find a way to cook tomorrow."
2. Ability: "I am confident I will find a way."