How does an agent know which action to use?

You provide examples, keywords, and intent descriptions. The agent uses this information to choose the correct action based on the user’s request or API input.