optimize_prompt
Enhance AI interactions by refining prompts for clarity, specificity, structure, and effectiveness. Analyze and optimize prompts based on context, audience, and defined goals.
Instructions
优化和增强提示词以获得更好的 AI 交互效果。此工具分析提示词并应用各种优化策略来改善清晰度、具体性、结构和有效性。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | 优化过程中要考虑的额外上下文或背景信息 | |
| optimizationGoals | No | 要专注的具体优化目标。可用选项: clarity(清晰度), specificity(具体性), structure(结构), context(上下文), actionable(可执行性), conciseness(简洁性), examples(示例), format(格式) | |
| originalPrompt | Yes | 要优化的原始提示词 | |
| style | No | 优化后提示词的期望风格 (例如: 'formal(正式)', 'casual(随意)', 'technical(技术性)', 'creative(创意性)') | |
| targetAudience | No | 提示词的目标受众 (例如: '技术专家', '普通用户', '学生') |
Input Schema (JSON Schema)
{
"properties": {
"context": {
"description": "优化过程中要考虑的额外上下文或背景信息",
"type": "string"
},
"optimizationGoals": {
"description": "要专注的具体优化目标。可用选项: clarity(清晰度), specificity(具体性), structure(结构), context(上下文), actionable(可执行性), conciseness(简洁性), examples(示例), format(格式)",
"items": {
"enum": [
"clarity",
"specificity",
"structure",
"context",
"actionable",
"conciseness",
"examples",
"format"
],
"type": "string"
},
"type": "array"
},
"originalPrompt": {
"description": "要优化的原始提示词",
"type": "string"
},
"style": {
"description": "优化后提示词的期望风格 (例如: 'formal(正式)', 'casual(随意)', 'technical(技术性)', 'creative(创意性)')",
"type": "string"
},
"targetAudience": {
"description": "提示词的目标受众 (例如: '技术专家', '普通用户', '学生')",
"type": "string"
}
},
"required": [
"originalPrompt"
],
"type": "object"
}