Generate a reusable prompt
generate_promptGenerate a text prompt, not an AI response. First get_generator_details; use exact fields and choices. Put travel destination, appointment facts or other missing specifics in source_text. For any of the 22 supported languages, prefer presentation=guided for full natural-language instructions and placeholders; classic remains identical to the initial website Step-4 copy text. No login, AI inference or external messages.
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": {
"generator": "<generator>",
"fields": "<fields>"
},
"name": "generate_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Use exact dropdown values OR one custom text input when customAllowed=true; arrays for multiple=true fields. | |
| locale | No | en | |
| generator | Yes | One active PromptingEasy generator ID. | |
| source_text | No | Optional additional facts or source material, such as destination: Vienna, original appointment: Monday, proposed date: Friday. Appended to copyPayload; this API does not execute AI requests. | |
| presentation | No | classic: same initial prompt text as the browser Step-4 Copy button (all 22 locales). guided: localized actionable instructions and missing-information placeholders in all 22 locales; cooking role is clarified. For ai-image, guided returns the classic image prompt. | classic |
| image_subject | No | Required for ai-image only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| locale | Yes | ||
| prompt | Yes | ||
| generator | Yes | ||
| copyPayload | Yes | ||
| sourceIncluded | Yes |