MCPVault

search_space

MCP tool from Optuna MCP by optuna

the search space for Optuna (dictionary, required).

How to use it

search_space is exposed by the Optuna MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search_space tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL OPTUNA MCP LISTING

Other tools in Optuna MCP (39)

ask

Suggest new parameters using Optuna.

best_trial

Get the best trial.

best_trials

Return trials located at the Pareto front in the study.

create_study

Create a new Optuna study with the given studyname and directions.

directions

The directions of optimization (list of literal strings minimize/maximize, optional).

get_all_study_names

Get all study names from the storage.

get_directions

Get the directions of the study.

get_metric_names

Get metricnames.

get_trial_user_attrs

Get user attributes in a trial.

get_trials

Get all trials in a CSV format.

include_dominated_trials

a flag to include all dominated trial's objective values (boolean, optional).

key

the key of the user attribute (string, required).

launch_optuna_dashboard

Launch the Optuna dashboard.

metric_names

The list of metric names for each objective (list of strings, required).

name

the name of the sampler (string, required).

params

parameter list to visualize (list of strings, optional).

plot_contour

Return the contour plot as an image.

plot_edf

Return the EDF plot as an image.

plot_hypervolume_history

Return the hypervolume history plot as an image.

plot_optimization_history

Return the optimization history plot as an image.

plot_parallel_coordinate

Return the parallel coordinate plot as an image.

plot_param_importances

Return the parameter importances plot as an image.

plot_pareto_front

Return the Pareto front plot as an image for multi-objective optimization.

plot_rank

Return the rank plot as an image.

plot_slice

Return the slice plot as an image.

plot_timeline

Return the timeline plot as an image.

reference_point

a list of reference points to calculate the hypervolume (list of floats, required).

set_metric_names

Set metricnames. Metricnames are labels used to distinguish what each objective value is.

set_sampler

Set the sampler for the study.

set_trial_user_attr

Set user attributes for a trial.

study_name

name of the study (string, required).

target

index to specify which value to display (integer, optional).

target_name

target’s name to display on the axis label (string, optional).

target_names

objective name list used as the axis titles (list of strings, optional).

targets

a list of indices to specify the objective values to display. (list of integers, optional).

tell

Report the result of a trial.

trial_number

the trial number (integer, required).

value

the value of the user attribute (any type, required).

values

the result of the trial (float or list of floats, required).