check_document
Start an originality check of ONE document for the user (PDF, DOCX, DOC, ODT, RTF or TXT, up to 10,000 words). Ask the user's permission first. Returns a token; the check takes 10 to 20 minutes. Send exactly one of content_base64 (with filename), text, or url. Open access has growing waiting times between checks and a small daily limit; never send batches or split documents.
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": {
"user_confirmed": "<user_confirmed>"
},
"name": "check_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | a public link to a PDF, DOCX or TXT file | |
| text | No | the document as plain text | |
| filename | No | file name with extension, e.g. thesis.pdf (with content_base64) | |
| content_base64 | No | the file, base64-encoded | |
| user_confirmed | Yes | true only after the user agreed to send the document to OpenPlag Labs |