best_trial
Retrieve the best trial from a completed single-objective optimization study.
Instructions
Get the best trial
This feature can only be used for single-objective optimization. If your study is multi-objective, use best_trials instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "best_trial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trial_number | Yes | ||
| params | No | The parameter values suggested by the trial. | |
| values | No | The objective values of the trial. | |
| user_attrs | No | User-defined attributes for the trial. | |
| system_attrs | No | System-defined attributes for the trial. |