---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/artifacts/toon/variables/jsonToToonTool.md
description: 'Converter tool: JSON to TOON.'
---

# Variable: jsonToToonTool

```ts
const jsonToToonTool: Tool;
```

Defined in: [src/batteries/artifacts/toon/index.ts:564](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/batteries/artifacts/toon/index.ts#L564)

Converter tool: JSON to TOON.

## Remarks

Accepts either inline JSON text or a reference to a JSON artifact produced earlier in this turn.
Converts to TOON and returns a new [SpooledToonArtifact](../classes/SpooledToonArtifact.md).

This is a plain [@nhtio/adk!Tool](../../../../forge/classes/Tool.md), not an [@nhtio/adk!ArtifactTool](../../../../forge/classes/ArtifactTool.md) — the handler
returns the new artifact directly, allowing the forge to discover and query it on the next
iteration without explicit wiring.
