Get Skills Prompt • AI Agent SDK

get_skills_prompt: Get the XML prompt for available skills.

get_skills_prompt

Method

</div>

This is a method of the Agent class in the agent module.

Get the XML prompt for available skills.

Signature

python
def get_skills_prompt() -> str

Returns

ResponseField str

XML string with &lt;available_skills&gt; block, or empty string if no skills

Uses

  • to_prompt

Source

View on GitHub

praisonaiagents/agent/agent.py at line 4091


Related Documentation