Table of Contents

Class AgentCapabilitiesController

Namespace
FoundationaLLM.Gateway.API.Controllers
Assembly
FoundationaLLM.Gateway.API.dll

Methods for managing agent capabilities.

[ApiController]
[APIKeyAuthentication]
[Route("instances/{instanceId}/[controller]")]
public class AgentCapabilitiesController
Inheritance
AgentCapabilitiesController
Inherited Members
Extension Methods

Constructors

AgentCapabilitiesController(IGatewayCore, IOrchestrationContext)

Methods for managing agent capabilities.

public AgentCapabilitiesController(IGatewayCore gatewayCore, IOrchestrationContext callContext)

Parameters

gatewayCore IGatewayCore

The IGatewayCore that provides LLM gateway services.

callContext IOrchestrationContext

The IOrchestrationContext call context of the request being handled.

Methods

CreateAgentCapability(string, AgentCapabilityRequest)

Creates an agent capability.

[HttpPost]
public Task<IActionResult> CreateAgentCapability(string instanceId, AgentCapabilityRequest agentCapabilityRequest)

Parameters

instanceId string

The FoundationaLLM instance id.

agentCapabilityRequest AgentCapabilityRequest

The AgentCapabilityRequest object with the deails of the requested capability.

Returns

Task<IActionResult>

A dictionary of output values.

Remarks

The supported categories are: