intel_compare_fields
Compare multiple fields side-by-side. Runs diagnosis on each field and produces a comparison table showing data quality, triggered rules, top priority action, and overall confidence.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fields | array | Yes | 2-10 field objects (same schema as intel_diagnose_field) |
Each field object requires at minimum: fieldId, crop, targetCropYear.
Usage
{
"fields": [
{
"fieldId": "field-001",
"fieldName": "North 40",
"crop": "corn",
"targetCropYear": 2025,
"yieldHistory": [
{ "year": 2024, "bushelsPerAcre": 165 }
]
},
{
"fieldId": "field-002",
"fieldName": "South 80",
"crop": "corn",
"targetCropYear": 2025,
"yieldHistory": [
{ "year": 2024, "bushelsPerAcre": 140 }
]
}
]
}Response
{
"error": false,
"data": {
"fieldCount": 2,
"comparison": [
{
"fieldId": "field-001",
"fieldName": "North 40",
"crop": "corn",
"dataQuality": "PARTIAL",
"overallConfidence": 0.65,
"triggeredRuleCount": 2,
"topPriorityAction": {
"action": "Soil test recommended"
},
"diagnosticSummary": "2 issues identified"
},
{
"fieldId": "field-002",
"fieldName": "South 80",
"crop": "corn",
"dataQuality": "PARTIAL",
"overallConfidence": 0.60,
"triggeredRuleCount": 5,
"topPriorityAction": {
"action": "Investigate yield decline"
},
"diagnosticSummary": "5 issues identified"
}
],
"priorityRanking": [
{
"fieldId": "field-002",
"priority": "high",
"reason": "5 triggered rules — needs immediate attention"
},
{
"fieldId": "field-001",
"priority": "low",
"reason": "2 triggered rules — minor issues"
}
]
}
}Priority Classification
| Priority | Triggered Rules | Meaning |
|---|---|---|
high | More than 5 | Needs immediate attention |
medium | 3-5 | Should investigate soon |
low | Fewer than 3 | Minor issues |
| Parameter | Type | Required | Description |
|---|---|---|---|
| fields | array | Required | Array of field data to compare (2-10 fields) |
Try it
intel_compare_fieldsSign in to try this tool
Sign in