prune_fields
Bulk-delete PDF fields matching criteria like type, confidence, width, height, or page. Returns removed IDs for audit and reversal.
Instructions
Bulk-delete fields matching ALL given criteria (e.g. detection noise).
field_type: exact type match (e.g. 'cell'); confidence_below / width_below / height_below: strictly-less-than thresholds (w/h in % of page); page_index: limit to one page; exclude_ids: always keep these. Returns the removed ids so the operation is auditable (and reversible via add_field if it cut too much).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_type | No | ||
| page_index | No | ||
| exclude_ids | No | ||
| width_below | No | ||
| height_below | No | ||
| confidence_below | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |