update_prompt
Modify existing prompt templates by updating content, variables, models, or metadata to create new versions for improved AI interactions.
Instructions
Update an existing prompt template. Creates a new version with the changes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | Prompt ID or slug to update | |
| name | No | New display name for the prompt | |
| collection_id | No | Move to a different collection | |
| string | No | New prompt template string with {{variable}} mustache syntax | |
| parameters | No | New default values for template variables | |
| model | No | New model identifier | |
| virtual_key | No | New virtual key slug | |
| version_description | No | Description for this version | |
| template_metadata | No | New metadata | |
| functions | No | New function definitions | |
| tools | No | New tool definitions | |
| tool_choice | No | New tool choice strategy | |
| dry_run | No | When true, validate without updating |