Function: buildCapabilityYaml()
buildCapabilityYaml(
tool):string
Defined in: packages/agentos/src/emergent/SkillExporter.ts:296
Builds a CAPABILITY.yaml content string for an emergent tool.
The format matches the schema expected by the capability manifest scanner:
id: tool:<name>
kind: tool
name: <name>
displayName: <Title Case Name>
description: <description>
category: emergent
tags: [generated, ...]
inputSchema: { ... }
outputSchema: { ... }
skillContent: ./SKILL.md
Parameters
tool
The emergent tool to export.
Returns
string
CAPABILITY.yaml content string.