---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/tools/string_processing/variables/stringTransformTool.md
description: Apply an ordered pipeline of string transformations.
---

# Variable: stringTransformTool

```ts
const stringTransformTool: Tool<SpooledArtifact>;
```

Defined in: [batteries/tools/string\_processing/index.ts:158](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/batteries/tools/string_processing/index.ts#L158)

Apply an ordered pipeline of string transformations.

## Remarks

Each operation reads the previous step's output. Most operations return strings; `count_*`
return numbers and `split` returns an array — once a non-string flows through, subsequent
operations report an error rather than coercing. The result is always serialised to a string
(arrays become JSON; numbers/booleans are stringified).
