Skip to main content
POST

Path Parameters

string
required
The numeric ID of the server to add the prompt to.

Body Parameters

string
required
Machine-readable prompt name (e.g., write_product_description). Use snake_case.
string
Description of what this prompt does.
array
Array of argument objects. Each argument has:
  • name (string, required) — argument identifier
  • description (string) — what the argument is for
  • required (boolean) — whether it must be provided
string
required
The prompt text with {{argument_name}} placeholders.