docugen_get_job
Check the status of a generation job started by docugen_generate_document. Returns the url of the document, the link to send the user for review and approval. While the job runs, currentStep and progress (0-100) say where it is: a BND takes about 1 minute, a PRD 1 to 2 and a technical specification 2 to 4 (measured in production, November 2026), so wait about 30 seconds between calls. When the job is completed it also returns fidelityCheck (null when this type is not checked; a check is also recorded when the context was cut, even for types otherwise not checked). This is the one recorded at generation time; docugen_get_document returns the current one, recomputed after edits to the document. notesRead says what the generation read after the parent was approved: parentComments (the open comments on the parent, one per entry) and requesterContext (whether your additionalContext entered); a comment you expected and do not see there did not reach the document. DocuGen compared the generated document with its input. With status "review", check the items before asking for approval: missingIds lists identifiers from the input (such as AT01 or RF-07) absent in the document, foreignScript lists passages in another alphabet, truncated means the end may be missing, internalConflicts and inputConflicts list contradictions inside the document and with the input, coverageFindings (ids without the link they need: rule without requirement, restriction without criterion, criterion without test, decision without status, possibly wrong reference, requirement restating its rule, decided item marked (inferred)) and coverageWarnings; coverageOmitted, when present, counts findings that did not fit in the list; and jev.changedRule or jev.missingCriteria at 0.7 or above mean a rule from the input may have changed or a criterion may be missing. Fix the document where needed, then ask the user to approve. Before that, DocuGen already fixed what its input decides (the approved parent, or the description for a BND): autoFixed lists those fixes (the version before them is in the history as "AI generated"), and opportunities lists what the input leaves open; bring those to the user as decisions, not errors. openDecisions lists each open decision of the parent document (id, question, status, answer, reason, conflict): answered came from the notes after approval; suggested is an answer suggested by DocuGen, which the user must confirm, so bring it to them as a decision to confirm, never as decided; accepted was confirmed or edited by the user; needs_client needs an answer only the user has (reason says what is missing), so ask them; conflict, when present, is another answer the sources gave. When the user decides or confirms one, record it with docugen_answer_decision.
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": {
"jobId": "<jobId>"
},
"name": "docugen_get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job id |