Write File • AI Agent SDK

write_file: Protocol alias for :meth:`write_skill_file`.

write_file

Method

</div>

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

Protocol alias for :meth:write_skill_file.

Signature

python
def write_file(name: str, file_path: str, file_content: str, propose: Optional[bool]) -> dict

Parameters

ParamField str

No description available.

ParamField str

No description available.

ParamField str

No description available.

ParamField Optional[bool]

No description available.

Returns

ResponseField dict

The result of the operation.

Uses

  • write_skill_file

Source

View on GitHub

praisonaiagents/skills/manager.py at line 1691