mlflow_runs_log_metric
Log a single metric to an MLflow run by specifying run ID, metric name, and value. Optionally include timestamp and step.
Instructions
Log a single metric (POST /api/2.0/mlflow/runs/log-metric).
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": {
"run_id": "<run_id>",
"key": "<key>",
"value": "<value>"
},
"name": "mlflow_runs_log_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run ID | |
| key | Yes | Metric name | |
| value | Yes | Metric value | |
| timestamp | No | Epoch ms | |
| step | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |