---
url: >-
  https://adk.nht.io/api/@nhtio/adk/spooled_artifact/functions/defaultSerialise.md
---

# Function: defaultSerialise()

```ts
function defaultSerialise(result: unknown): string;
```

Defined in: [src/lib/classes/spooled\_artifact.ts:145](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/lib/classes/spooled_artifact.ts#L145)

Default serialiser for [@nhtio/adk!ArtifactTool](../../forge/classes/ArtifactTool.md) handler return values when a descriptor does not
provide its own. Exported for reuse by subclass `forgeTools` overrides.

## Parameters

| Parameter | Type      | Description                       |
| --------- | --------- | --------------------------------- |
| `result`  | `unknown` | The artifact-method return value. |

## Returns

`string`

A string suitable for inclusion in an LLM tool-call response.
