<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[sessions](../../) / [Exports](../modules) / ITemplateManager

# Interface: ITemplateManager

Template manager interface for agent templates

## Implemented by

- [`TemplateManagerAdapter`](../classes/TemplateManagerAdapter)

## Table of contents

### Methods

- [getTemplate](ITemplateManager#gettemplate)
- [listTemplates](ITemplateManager#listtemplates)
- [validateTemplate](ITemplateManager#validatetemplate)

## Methods

### getTemplate

▸ **getTemplate**(`name`): `any`

#### Parameters

| Name   | Type     |
| :----- | :------- |
| `name` | `string` |

#### Returns

`any`

#### Defined in

[sessions/src/types/chat.ts:41](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/sessions/src/types/chat.ts#L41)

---

### listTemplates

▸ **listTemplates**(): `string`[]

#### Returns

`string`[]

#### Defined in

[sessions/src/types/chat.ts:42](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/sessions/src/types/chat.ts#L42)

---

### validateTemplate

▸ **validateTemplate**(`config`): `boolean`

#### Parameters

| Name     | Type          |
| :------- | :------------ |
| `config` | `AgentConfig` |

#### Returns

`boolean`

#### Defined in

[sessions/src/types/chat.ts:43](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/sessions/src/types/chat.ts#L43)
