ai_prompt_optimize
AI Prompt Optimizer: rewrite a rough prompt into a clear, structured prompt for a target model (general, chatgpt, claude, grok). AI-generated: review before use.
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": "ai_prompt_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Goal as text. | |
| prompt | Yes | Prompt as text. | |
| target | No | Target: one of general, chatgpt, claude, grok. |