> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# To Prompt • Rust AI Agent SDK

> to_prompt: Generate XML prompt for all discovered skills.

# to\_prompt

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**SkillManager**](../classes/SkillManager) class in the [**skills**](../modules/skills) module.

Generate XML prompt for all discovered skills.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def to_prompt(&self) -> String
```

### Returns

<ResponseField name="Returns" type="String">
  The result of the operation.
</ResponseField>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Prompts" icon="message" href="/docs/rust/prompts" />

  <Card title="Rust Templates" icon="file-code" href="/docs/rust/templates" />
</CardGroup>
