Interface IAgentToolRunCatalog
Namespace: Cephalon.Abstractions.Agentics
Assembly: Cephalon.Abstractions.dll
Exposes the latest reported runtime state for agent-tool runs.
public interface IAgentToolRunCatalogProperties
Section titled “Properties”Gets the currently known agent-tool run states ordered by tool identifier and run identifier.
IReadOnlyList<AgentToolRunState> Runs { get; }Property Value
Section titled “Property Value”IReadOnlyList<AgentToolRunState>
Methods
Section titled “Methods”GetByRunId(string)
Section titled “ GetByRunId(string)”Looks up one reported run-state entry by run identifier.
AgentToolRunState? GetByRunId(string runId)Parameters
Section titled “Parameters”runId string
The stable run identifier to resolve.
Returns
Section titled “Returns”The current run state when one has been reported; otherwise, null.
GetByToolId(string)
Section titled “ GetByToolId(string)”Gets all reported run-state entries for one tool.
IReadOnlyList<AgentToolRunState> GetByToolId(string toolId)Parameters
Section titled “Parameters”toolId string
The stable tool identifier to resolve.
Returns
Section titled “Returns”IReadOnlyList<AgentToolRunState>
The run states reported for the tool.
TryGet(string, out AgentToolRunState?)
Section titled “ TryGet(string, out AgentToolRunState?)”Attempts to look up one reported run-state entry by run identifier.
bool TryGet(string runId, out AgentToolRunState? state)Parameters
Section titled “Parameters”runId string
The stable run identifier to resolve.
state AgentToolRunState?
The current run state when one has been reported.
Returns
Section titled “Returns”true when one run-state entry is available; otherwise, false.