createPrompt
Create a reusable prompt template with variable placeholders to avoid repeating complex instructions across LLM conversations.
Instructions
Create a new Teleprompter prompt. Wrap template variables in double curly braces. For example, "Hello, {{name}}!"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"contents": "<contents>"
},
"name": "createPrompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID, or "tag" for the new prompt. This will be used by the user later on to apply prompt usage with an LLM they are chatting with. For example, ">> new-journal-entry". IDs must be suitable for use as a file name. | |
| contents | Yes | The contents of the prompt, with variables placeholders marked with double curly braces. For example, "Hello, {{name}}!" |