Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.35 KB

File metadata and controls

32 lines (23 loc) · 1.35 KB

CreateSkillRequest

Author a skill from a SKILL.md bundle.

Properties

Name Type Description Notes
name str Skill machine name (its folder name); unique within the tenant.
skill_md str Full SKILL.md content: YAML frontmatter with name + description, then the markdown instruction body.
files List[SkillFile] Optional bundle files at paths relative to the skill root (scripts/, references/, assets/, …). SKILL.md is supplied separately and must not be repeated here. [optional]

Example

from ksapi.models.create_skill_request import CreateSkillRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateSkillRequest from a JSON string
create_skill_request_instance = CreateSkillRequest.from_json(json)
# print the JSON string representation of the object
print(CreateSkillRequest.to_json())

# convert the object into a dict
create_skill_request_dict = create_skill_request_instance.to_dict()
# create an instance of CreateSkillRequest from a dict
create_skill_request_from_dict = CreateSkillRequest.from_dict(create_skill_request_dict)

[Back to Model list] [Back to API list] [Back to README]