plot_comparison_notebook
Generate a Jupyter notebook to compare ASAM ODS measurements by plotting specified quantities as scatter, line, or subplots, using filter conditions and the active ODS connection.
Instructions
Generate a Jupyter notebook for comparing measurements.
Uses the active ODS connection (established via ods_connect or ods_connect_using_env). The generated notebook reads the password from the ODS_PASSWORD environment variable at runtime so no credentials are embedded in the notebook file.
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": {
"measurement_query_conditions": "<measurement_query_conditions>",
"measurement_quantity_names": "<measurement_quantity_names>"
},
"name": "plot_comparison_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Notebook title | Measurement Comparison |
| plot_type | No | Type of plot ("scatter", "line", or "subplots") | scatter |
| output_path | No | Optional path to save notebook (.ipynb file) | |
| available_quantities | No | List of all available quantities (for documentation) | |
| measurement_quantity_names | Yes | Names of quantities to plot | |
| measurement_query_conditions | Yes | Filter conditions for measurements (MeaResult attributes). Example: {"Name": {"$like": "Profile_*"}} or {"TestStep.Test.Name": {"$eq": "MyTest"}} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||