.NET API
IAgentSkillStore
Tracon.Abstractions.dllThe store for a tenant’s run-time skill definitions.
public interface IAgentSkillStoreRemarks
Section titled “Remarks”Tenant behavior — EXPECTED tenant, uniformly, with no ambient
fallback. Every member takes tenantId as an explicit
parameter; an implementation does not read ITenantContext at all.
This differs from the neighboring IAgentDefinitionStore,
which reads the ambient tenant internally instead — see that interface’s
remarks for why the shape is not uniform across the cluster.
Methods
Section titled “Methods”DeleteAsync(string, string, CancellationToken)
Section titled “ DeleteAsync(string, string, CancellationToken)”Deletes a tenant’s skill.
ValueTask<bool> DeleteAsync(string tenantId, string name, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”tenantId string
The tenant identifier.
name string
The skill name.
cancellationToken CancellationToken
The cancellation token.
Returns
Section titled “Returns”true if the skill was deleted.
GetAsync(string, string, CancellationToken)
Section titled “ GetAsync(string, string, CancellationToken)”Fetches the skill matching the given name within the tenant.
ValueTask<AgentSkillDefinition?> GetAsync(string tenantId, string name, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”tenantId string
The tenant identifier.
name string
The skill name.
cancellationToken CancellationToken
The cancellation token.
Returns
Section titled “Returns”ValueTask<AgentSkillDefinition?>
The skill; null if it does not exist.
ListAsync(string, CancellationToken)
Section titled “ ListAsync(string, CancellationToken)”Lists all of a tenant’s skills.
ValueTask<IReadOnlyList<AgentSkillDefinition>> ListAsync(string tenantId, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”tenantId string
The tenant identifier.
cancellationToken CancellationToken
The cancellation token.
Returns
Section titled “Returns”ValueTask<IReadOnlyList<AgentSkillDefinition>>
The skills, ordered by name.
SaveAsync(AgentSkillDefinition, CancellationToken)
Section titled “ SaveAsync(AgentSkillDefinition, CancellationToken)”Creates or updates the skill.
ValueTask<AgentSkillDefinition> SaveAsync(AgentSkillDefinition skill, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”skill AgentSkillDefinition
The skill to save.
cancellationToken CancellationToken
The cancellation token.
Returns
Section titled “Returns”ValueTask<AgentSkillDefinition>
The skill with its identifier, timestamps, and version assigned.