Class TaskRunScope
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
Overrides selected agent runtime settings for one task run without changing agent.md.
public sealed class TaskRunScopeInheritance
Inherited Members
Properties
- AgentToolIds
-
Gets or sets exposed agent identifiers callable by this task run.
- AllowedDirectories
-
Gets or sets additional folder grants available to this task run.
- AllowedSkillNames
-
Gets or sets skill names available to this task run.
- AllowedToolNames
-
Gets or sets the qualified tool names exposed to this task run.
- AllowedWorkspaces
-
Gets or sets workspace names available to this task run.
- IsCompactionEnabled
-
Gets or sets whether conversation compaction is enabled for this task run.
- IsLocalOnly
-
Gets or sets whether this task run may use only local endpoints.
- IsMemoryEnabled
-
Gets or sets whether user memory context and tools are available for this task run.
- IsTodoEnabled
-
Gets or sets whether todo context is available for this task run.
- IsToolSearchEnabled
-
Gets or sets whether selected tools are exposed through tool search.
- PinnedToolNames
-
Gets or sets selected tools kept visible when tool search is enabled.
- ToolPolicies
-
Gets or sets sparse approval-policy overrides for this task run.
Methods
- Clone()
-
Creates a mutable deep copy so callers can edit a scope without mutating the source.
- FromAgent(AgentDefinition)
-
Creates a task-scope snapshot from an agent's current runtime settings.
- IsManagedToolName(string?)
-
Returns whether a tool name is controlled by dedicated task-scope flags instead of allowed_tool_names.