shorten_prompt
Condense lengthy Midjourney prompts into shorter versions via RunAPI, returning the result for downstream image generation.
Instructions
Run a synchronous Midjourney operation on RunAPI (shorten prompt). Returns the operation result.
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": {
"prompt": "<prompt>"
},
"name": "shorten_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Declared type: string. |