> ## 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.

# prompt • Rust AI Agent SDK

> prompt: Set custom prompt

# prompt

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

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

Set custom prompt

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def prompt(mut self, prompt: impl Into<String>) -> Self
```

## Parameters

<ParamField query="prompt" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  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>
