Skip to content

Python: Make all AgentSkillsProvider tools require approval by default and add auto-approval rules #6728

Description

@SergeyMenshykh

Summary

Port the .NET changes from #6727 to Python.

Make all functions in AgentSkillsProvider require approval by default and allow configuring auto-approval via ToolApprovalAgentOptions.

Changes to port

  • Wrap all skill tools with approval required by default
  • Add read-only and all-tools auto-approval rules (following the FileAccessProvider pattern)
  • Remove ScriptApproval option
  • Add sample showing auto-approval configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETUsage: [Issues, PRs], Target: .NetpythonUsage: [Issues, PRs], Target: Python

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions