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

# definitions • Rust AI Agent SDK

> definitions: Get all tool definitions

# definitions

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

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

Get all tool definitions

## Signature

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

### Returns

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