[**axiom v0.51.1**](../../README.md)

***

[axiom](../../README.md) / [index](../README.md) / wrapTools

# Function: wrapTools()

> **wrapTools**\<`T`\>(`tools`): `T`

Wraps multiple tools to create child spans when their execute methods are called.

## Type Parameters

### T

`T` *extends* `Record`\<`string`, `ToolLike`\>

## Parameters

### tools

`T`

An object containing tools to wrap

## Returns

`T`

The same object with all tools wrapped
