axiom
Version:
Axiom AI SDK provides - an API to wrap your AI calls with observability instrumentation. - offline evals - online evals
32 lines (16 loc) • 449 B
Markdown
[**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