extract_file
Extracts plain text from PDF, DOCX, TXT, and MD files for AI parsing and optimization before saving context. Useful as the first step for uploading resumes.
Instructions
抽取 pdf / docx / txt / md 文件的纯文本,供 AI 解析、优化后再 save_context。 (这是「上传简历→解析」的第一步:只取文本,优化交给 AI 本身。)
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": {
"path": "<path>"
},
"name": "extract_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |