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

# Variable: toonToJsonTool

```ts
const toonToJsonTool: Tool;
```

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

Converter tool: TOON to JSON.

## Remarks

Accepts either inline TOON text or a reference to an artifact produced earlier in this turn.
Converts to JSON and returns a new [@nhtio/adk!SpooledJsonArtifact](../../../../spooled_artifact/classes/SpooledJsonArtifact.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.
