# Class LittleGhost::Content::ToolUse

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/LittleGhost/Content/ToolUse.html

Describes one tool call requested by a provider-backed model.

## Inheritance

`LittleGhost::Content::ToolUse < Data`

## Attributes

<a id="attribute-i-id"></a>
### `id` (R)

The non-empty provider call identifier used to match a ToolResult.

<a id="attribute-i-input"></a>
### `input` (R)

The object-shaped arguments supplied by the model as a DataMap.

<a id="attribute-i-name"></a>
### `name` (R)

The non-empty model-visible tool name.

## Class methods

<a id="method-c-new"></a>
### `.new`

```ruby
new(id:, name:, input:) -> ToolUse
```

Requires non-empty String-compatible `id` and `name` values and an
object-shaped `input`.
