approve • AI Agent SDK

approve: Approve a pending skill mutation and apply it to disk.

approve

Method

</div>

This is a method of the SkillManager class in the manager module.

Approve a pending skill mutation and apply it to disk.

Signature

python
def approve(identifier: str) -> dict

Parameters

ParamField str

The pending mutation id (preferred) or skill name.

Returns

ResponseField dict

Dict with the result of applying the mutation.

Uses

  • result.setdefault

Source

View on GitHub

praisonaiagents/skills/manager.py at line 1571