upload_document
Upload quality records such as MTRs, NDE reports, certificates, or procedures to a project. Optionally assign a folder to apply extraction schemas or defer extraction when supplying data manually.
Instructions
Upload a record (MTR, NDE report, certificate, procedure, etc.) to the current project. Optionally file it under a document folder id (recommended, so the right extraction schema runs). Set do_not_extract=True if you will supply the extracted data yourself with 'set_document_extracted_data'.
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": {
"file_path": "<file_path>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| folder_id | No | ||
| do_not_extract | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |