Skip to main content

PromptDuplicate

Prompt duplicate (save-as / clone) request. The source prompt's definition (content/variables/long_context/type) is copied verbatim by the server; only identity/placement metadata is overridable here. The server always mints a fresh id and forces is_builtin=False, so a clone of a read-only builtin lands as an editable user prompt. Mirrors ToolDuplicate.

nameName (string)required

Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z][a-z0-9_]{0,127}(?![\s\S])

alias object
anyOf
string
description object
anyOf
string
collection_id object
anyOf
string

Possible values: non-empty

folder_id object
anyOf
string
tags object
anyOf
  • Array [
  • string
  • ]
  • PromptDuplicate
    {
    "name": "string",
    "alias": "string",
    "description": "string",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ]
    }