parse_file
Parse local or base64 files into agent-readable text and first-page PDF images without storing data, enabling entity extraction before storage.
Instructions
Parse local or base64-encoded files into agent-readable text and first-page PDF images without storing anything. Use before store when you need to extract entities from a file.
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": "parse_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Local file path. Preferred in local environments. | |
| mime_type | No | Optional MIME type. Auto-detected from file_path when omitted. | |
| file_content | No | Base64-encoded file content. | |
| original_filename | No | Optional filename hint for MIME detection and PDF parsing. |