add_trials
Add multiple trials to a study in the Optuna MCP Server for hyperparameter optimization. Specify parameters, distributions, values, and trial states for enhanced automated analysis.
Instructions
Add multiple trials to the study.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
trials | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"TrialToAdd": {
"properties": {
"distributions": {
"additionalProperties": true,
"title": "Distributions",
"type": "object"
},
"params": {
"additionalProperties": true,
"title": "Params",
"type": "object"
},
"state": {
"enum": [
"COMPLETE",
"PRUNED",
"FAIL"
],
"title": "State",
"type": "string"
},
"system_attrs": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "System Attrs"
},
"user_attrs": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "User Attrs"
},
"values": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Values"
}
},
"required": [
"params",
"distributions",
"values",
"state",
"user_attrs",
"system_attrs"
],
"title": "TrialToAdd",
"type": "object"
}
},
"properties": {
"trials": {
"items": {
"$ref": "#/$defs/TrialToAdd"
},
"title": "Trials",
"type": "array"
}
},
"required": [
"trials"
],
"title": "add_trialsArguments",
"type": "object"
}