> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# get Plugin Template • TypeScript AI Agent SDK

> getPluginTemplate: API reference for getPluginTemplate

# getPluginTemplate

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**plugins**](../modules/plugins) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def getPluginTemplate(name: string) -> string
```

### Returns

<ResponseField name="Returns" type="string">
  The result of the operation.
</ResponseField>

## Uses

* `super`
* `onHook`
* `Plugin`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/plugins/index.ts#L532">
  `src/plugins/index.ts` at line 532
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Template Catalog" icon="file-code" href="/docs/js/template-catalog" />

  <Card title="JS Template Catalog CLI" icon="terminal" href="/docs/js/template-catalog-cli" />

  <Card title="JS Plugins" icon="plug" href="/docs/js/plugins" />
</CardGroup>
