set_document_extracted_data
Update a document's structured fields with extracted data from your own AI extraction process, ensuring data matches the folder's schema.
Instructions
Write structured fields back onto a document (used after you run your own 'bring your own AI' extraction). 'extracted_data' is a JSON object string matching the folder's schema.
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": {
"document_id": "<document_id>",
"extracted_data": "<extracted_data>"
},
"name": "set_document_extracted_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| extracted_data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |