From Properties • AI Agent SDK

from_properties: Create SkillMetadata from SkillProperties.

from_properties

Method

</div>

This is a method of the SkillMetadata class in the models module.

Create SkillMetadata from SkillProperties.

Signature

python
def from_properties(props: SkillProperties) -> 'SkillMetadata'

Parameters

ParamField SkillProperties

SkillProperties instance with path set

Returns

ResponseField 'SkillMetadata'

SkillMetadata with location pointing to SKILL.md

Uses

  • skill_md.exists
  • cls

Used By

Source

View on GitHub

praisonaiagents/skills/models.py at line 347