// Copyright (c) Microsoft. All rights reserved.
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Microsoft.Extensions.AI;
namespace Microsoft.Agents.AI.Workflows.Declarative.Events;
///
/// Represents a request for user input.
///
public sealed class AgentToolRequest
{
///
/// The name of the agent associated with the tool request.
///
public string AgentName { get; }
///
/// A list of tool requests.
///
public IList FunctionCalls { get; }
[JsonConstructor]
internal AgentToolRequest(string agentName, IList? functionCalls = null)
{
this.AgentName = agentName;
this.FunctionCalls = functionCalls ?? [];
}
}