docusign_get_envelope, the envelope status lookup tool exposed through the Agents Platform.
Authentication
DocuSign tools use the DocuSign connector, which authenticates with JWT Grant (server-to-server). Users configureintegration_key, user_id and private_key, plus optional account_id and environment. See docusign.md for setup and the one-time admin consent step.
docusign_get_envelope
Reads a DocuSign envelope’s current state by id. This is a read-only tool.
Inputs
Required:envelope_id: Id of the envelope, as returned by docusign_send_envelope.
Status values
delivered is the one most often misread: it means opened, not signed. Only completed means the document is done.
Output
Structured content includes:envelope_idenvelope: full envelope object — subject, and the sent / delivered / completed / declined / voided timestampsenvelope_status: the raw status string, lifted outis_completed: boolean, true only forcompleted
envelope_status and is_completed are surfaced at the top level so a decision step can branch without reaching into a nested object.
Notes
- Call this before re-sending anything. Sending is billed per envelope and cannot be undone, and this is the only way to know an envelope already exists.
- Polling this tool is currently how envelope lifecycle changes are observed; DocuSign Connect webhooks are not wired up yet.