QuestionQ21

Plan and configure agent solutions

An agent in Copilot Studio must retrieve real-time data from an external system that exposes a REST API. The API returns structured JSON responses and requires authentication.

To meet the business needs, the solution must meet these requirements:

  • The agent calls a REST API during a conversation.
  • The REST API call runs with proper authentication.
  • The REST API response is available to the topic at runtime.

You need to configure the REST API to meet the requirements. What should you configure for each requirement?

Each configuration may be used once, more than once, or not at all.

Drag & Drop
Agent calls a REST API during a conversation.
REST API call runs with proper authentication.
REST API response is available to the topic at runtime.
Explanation

A REST API tool/action exposes API operations for an agent to invoke, and an authenticated connection provides the required credentials. Saving the action output in a topic variable allows subsequent nodes in that topic to use the JSON response at runtime. An indexed knowledge source supports retrieval and grounding rather than executing a real-time REST operation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!