validate_categories
Validate and correct document categories by comparing them with AI-detected document types to ensure accurate medical document organization.
Instructions
Validate and fix document categories by comparing with AI-detected document types.
Checks each document's category against its structured_metadata.document_type. Reports mismatches and optionally corrects them.
Args: dry_run: If True (default), report mismatches without fixing. If False, update categories and move GDrive files.
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": "validate_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |