create-prompt-optimization-job
Automatically improve a registered prompt by creating an optimization job. Configures algorithm, dataset, and scorers to refine prompt performance.
Instructions
Create a prompt optimization job to automatically improve a registered prompt
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": {
"sourcePromptUri": "<sourcePromptUri>"
},
"name": "create-prompt-optimization-job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| experimentId | No | Experiment ID (defaults to MLFLOW_EXPERIMENT_ID if unset) | |
| sourcePromptUri | Yes | URI of the source prompt to optimize (e.g. 'prompts:/my_prompt/1') | |
| config | No | Optimizer configuration object (algorithm, dataset, scorers, etc.) | |
| tags | No | Tags to attach to the job |