Optimize Prompt
optimize_promptRefine any draft prompt using best practices for LLMs. Optionally specify a target model for tailored optimization.
Instructions
Refine and optimize a draft prompt using best practices for LLMs
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": "optimize_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The draft prompt you want to optimize | |
| target_model | No | The model you intend to use this prompt with (e.g., 'anthropic/claude-sonnet-4.6') |