create-prompt-from-template
Creates a prompt file from a template by substituting user-defined variables. Eliminates manual prompt creation by reusing structured templates.
Instructions
Create a new prompt file from a template with variables
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": {
"templateId": "<templateId>",
"filename": "<filename>",
"variables": "<variables>"
},
"name": "create-prompt-from-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename for the new prompt | |
| variables | Yes | Variables to use in template rendering | |
| templateId | Yes | Template ID to use | |
| addMetadata | No | Whether to add template metadata (default: true) |