documents_insertDocumentExtraction

WRITE

Insert document extraction.

Parameters

storagePathstringrequired
documentTypeenumrequired
sourceDocumentstringrequired
sourceDocumentIdstringoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "documents_insertDocumentExtraction",
  "arguments": {
    "storagePath": "string",
    "documentType": "string",
    "sourceDocument": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "storagePath": {
      "type": "string"
    },
    "documentType": {
      "type": "string",
      "enum": [
        "purchaseInvoice",
        "salesRfq"
      ]
    },
    "sourceDocument": {
      "type": "string"
    },
    "sourceDocumentId": {
      "type": "string"
    }
  },
  "required": [
    "storagePath",
    "documentType",
    "sourceDocument"
  ]
}