optimize_agent_prompt
Formulates structured, effective system prompts and templates for complex AI agent tasks—code refactoring, RAG search, multi-agent orchestration, bug fixes.
Instructions
Formulates structured, highly effective system prompts and prompt templates for complex AI agent tasks (e.g. Code Refactoring, RAG Search, Multi-Agent Orchestration, Bug Fixes).
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": {
"task_type": "<task_type>"
},
"name": "optimize_agent_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_type | Yes | Task type to generate optimal prompt for | |
| context_details | No | Target details or goals for the prompt |