Order to Add REST API Tool in Copilot Studio

AB-620 Last updated

Add REST APIs to an agent

Short answer

1. Add the REST API tool 2. Configure the API endpoint details 3. Configure authentication for the API 4. Test the API configuration

Question

DRAG DROP A company wants to extend an agent in Copilot Studio by calling an external REST API to retrieve and update data. To meet the business needs, the REST API must be added following a correct dependency order. You need to add a REST API to the agent so it can be invoked during conversations. In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order. Exhibit: Order to Add REST API Tool in Copilot Studio

Key Takeaways

The exam tests the logical dependency of agent tool creation: you cannot configure endpoints or authentication until the base tool is added to the agent canvas.

This question tests the correct procedural order for adding a REST API tool to an agent in Microsoft Copilot Studio. The page establishes that defining the tool structure must precede endpoint configuration, authentication setup, and finally testing.

Common mistake: Learners often attempt to configure the API endpoint or authentication before the REST API tool itself exists in the agent's component list, resulting in invalid states.

Expert Analysis

Why the Answer Is Correct

The correct sequence begins with Add the REST API tool, which creates the necessary container within the agent. Next, you must Configure the API endpoint details (such as URL and methods) because the tool needs a target to function. Then, Configure authentication for the API is required to secure the connection before it can be used. Finally, Test the API configuration validates that the tool works correctly within the agent's context.

Why Other Candidate Answers Are Wrong

Any order that places 'Configure endpoint' or 'Configure authentication' before 'Add the REST API tool' is incorrect because these settings belong to a specific tool instance that does not yet exist. Testing must always be the last step to verify the entire chain.

Community Comment Notes

As noted by user faisalronnie, the consensus aligns with the official documentation flow: Add Tool -> Configure Endpoint -> Configure Auth -> Test. User Snoopy70 provided a direct link to the Microsoft Learn documentation confirming this exact sequence.

Official Reference

Exam Strategy

Always remember that in Copilot Studio, you must create the component (the tool) before you can configure its properties (endpoints/auth). Think 'Container first, Content second'.

Frequently Asked Questions

Why must I add the tool before configuring the endpoint?

You must add the tool first to create the object in the agent's canvas. Configuration settings like endpoints and authentication are properties of that specific tool instance.

Can I test the API before configuring authentication?

No, testing should be the final step. You need to configure both the endpoint and authentication successfully to ensure the tool can communicate securely and correctly.

More AB-620 FAQ →

Discussion 2 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded.

From public community threads 2

  1. faisalronnie 👍 11
    Add the REST API tool Configure the API endpoint details Configure authentication for the API Test the API configuration
  2. Snoopy70 👍 1
    Correct answer is here => https://learn.microsoft.com/en-us/microsoft-copilot-studio/agent-extend-action-rest-api#add-a-rest-api-tool-to-your-agent

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

← Back to AB-620 Study Guide