Docflow Extract Fields
docflow_extract_fieldsExtract additional fields from a processed document without re-uploading, using the original task ID to retrieve missing data.
Instructions
Re-extract specific fields from an already-processed file (POST /file/extract_fields).
Use when you need to extract additional fields without re-uploading the file, or when the original extraction missed certain fields.
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": {
"workspace_id": "<workspace_id>",
"task_id": "<task_id>"
},
"name": "docflow_extract_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to extract. Format: [{"name": "字段名", "prompt": "抽取提示"}] | |
| tables | No | Table fields to extract. Format: [{"name": "表名", "fields": [...]}] | |
| task_id | Yes | Task ID of the already-processed file. | |
| workspace_id | Yes | Target workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||