apply_finding_fix
Applies Marcora's stored recommended fix for one or more pending findings (content_grounding or Context Intelligence health_audit) by UUID. If the user already reviewed suggested_fix and supplies a finding_id, call this directly (no get_ci_finding re-read needed); otherwise read suggested_fix (from check_content_grounding, get_grounding_result, or list_ci_findings) and confirm with the user first — WRITES to your Reference Library, Brand Foundation, or checked content document. Requires Admin or Creator role and uses Studio Credits.
Routing & targets:
content_groundingfindings update the target context item or document (context_item_id: nullorconflict_scope: "company_material"revises the document, never your facts; company gap offers no add-to-library). Usecontext_item_overridesonly to redirect a library gap/fix item (keys must be infinding_ids).health_auditfindings update Reference Library context items or Brand Foundation (target_type: "core_context").web_freshness/impact_scanfindings cannot be auto-applied — they return inerrors[]pointing toupdate_ci_finding_status.
Async: poll each distinct generation_id in jobs[] via get_generation_status (fixes to the same document share one job) and report document_updated honestly. Partial success returns both jobs[] and errors[].
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": {
"team_id": "<team_id>",
"finding_ids": "<finding_ids>"
},
"name": "apply_finding_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions. | |
| finding_ids | Yes | UUIDs of content_grounding or health_audit findings (from check_content_grounding, get_grounding_result, list_ci_findings, or get_ci_finding). | |
| context_item_overrides | No | Optional map of finding_id to target context_item_id UUID to redirect a library fix. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| team | No | Team this action applied to. | |
| errors | Yes | ||
| queued | Yes | Number of findings queued. | |
| skipped | Yes | Number of findings skipped. | |
| requested | Yes | Number of finding IDs requested. |