# Sandbox.Services.Ai.Config.AddTool

```csharp
Config AddTool()
```

Registers a tool class. Its name identifies the tool; XML summaries on the class, inputs and
result describe it to the AI. Each invocation deserializes a fresh instance before calling Run.

### Returns

`Config`

Declared in [Sandbox.Services.Ai.Config](/api/Sandbox.Services.Ai.Config).
Assembly: `Sandbox.Engine`.
