predict_both
Predict outcomes using both Logistic Regression and KNN models in one call, then report whether their predictions agree for the supplied input data.
Instructions
Predict with BOTH models in one call and report whether they agree.
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": {
"input_data": "<input_data>"
},
"name": "predict_both"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Feature dictionary with all 30 breast cancer features as numbers, keyed by their exact names (e.g. 'mean radius', 'worst area'). Use get_sample_input to get a valid example. | |
| request_id | No | Your own id for this call; recorded in the audit log. | unknown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |