.NET API
SkillSettings
Tracon.Abstractions.dllSettings for how an agent uses the skills it names in AgentDefinition.SkillNames.
public sealed record SkillSettings : IEquatable<SkillSettings>- Inheritance
- object ← SkillSettings
- Implements
- IEquatable<SkillSettings>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Examples
Section titled “Examples”var definition = new AgentDefinition{ Name = "support", Model = new ModelBinding { Provider = "openai", Model = "gpt-5.4-mini" }, SkillNames = ["house-style"], Skills = new SkillSettings { DisableReadApproval = true },};Remarks
Section titled “Remarks”Microsoft Agent Framework wraps all three skill tools for approval by default. This
record lets a definition turn the approval off for the two tools that only read
text. The third tool, run_skill_script, runs code in a process or in a sandbox
and keeps its approval: there is deliberately no member that turns that off. A standing
approval rule that an administrator writes for the tool can still approve a call.
An agent that is exposed over A2A or MCP, or that runs without a session, has nobody
to answer an approval request. It needs SkillSettings.DisableReadApproval, or the
first load_skill call ends the run.
Constructors
Section titled “Constructors”SkillSettings()
Section titled “ SkillSettings()”public SkillSettings()Properties
Section titled “Properties”DisableReadApproval
Section titled “ DisableReadApproval”Gets a value that makes load_skill and read_skill_resource run without
asking for approval. run_skill_script keeps its approval.
public bool DisableReadApproval { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Skill text reaches the model as instructions. Turn this on only for skills that a tenant administrator writes, because the text is then a prompt-injection surface that no person reviews at run time.
Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(SkillSettings?)
Section titled “ Equals(SkillSettings?)”public bool Equals(SkillSettings? other)Parameters
Section titled “Parameters”other SkillSettings?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(SkillSettings?, SkillSettings?)
Section titled “ operator ==(SkillSettings?, SkillSettings?)”public static bool operator ==(SkillSettings? left, SkillSettings? right)Parameters
Section titled “Parameters”left SkillSettings?
right SkillSettings?
Returns
Section titled “Returns”operator !=(SkillSettings?, SkillSettings?)
Section titled “ operator !=(SkillSettings?, SkillSettings?)”public static bool operator !=(SkillSettings? left, SkillSettings? right)Parameters
Section titled “Parameters”left SkillSettings?
right SkillSettings?