# ToolResult

**Kind:** Interface

**Source:** [`atloria-monorepo/libs/agent-core/src/context/tool-result-manager.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/context/tool-result-manager.ts#L12)

Tool Result Manager

Manages tool call results in the context window:
- Truncates results exceeding a token budget
- Clears results older than N turns
- Large outputs can be stored as files instead

Zero SDK imports — operates on our own interfaces.

## Properties

| Property | Type |
|---|---|
| `id` | `string` |
| `toolName` | `string` |
| `result` | `string` |
| `turn` | `number` |
| `tokenEstimate` | `number` |
| `truncated` | `boolean` |
