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

# Command Args • Rust AI Agent SDK

> command_args: Extract command arguments if this is a command message.

# command\_args

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

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

Extract command arguments if this is a command message.

## Signature

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

### Returns

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust CLI" icon="terminal" href="/docs/rust/cli" />
</CardGroup>
