prune_fields
Remove unwanted detected form fields in bulk by filtering on type, confidence, dimensions, or page. Match all criteria to delete only noisy fields, keep exclusions, and return removed IDs for audit or 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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prune_fields"
}
}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 |