Skip to main content

render_agent_skill

Function render_agent_skill 

Source
pub fn render_agent_skill(
    spec: &ToolSpec,
    ctx: &AgentModeContext,
    name: &str,
) -> Result<String, AgentSkillError>
Expand description

Render the visible contract for one agent capability.

ยงErrors

Returns AgentSkillError when the capability name is not visible in the current context.