upload_document
Uploads a local file to SignaTrust and returns a document ID for create_envelope, supporting PDF, DOCX, and images by streaming file bytes from disk.
Instructions
Upload a local file to SignaTrust and return a document ID suitable for passing to create_envelope. Reads the file from disk, requests a pre-signed S3 upload URL, streams the bytes, and returns metadata. Supported: PDF (recommended), DOCX, images. Max size is enforced by your plan's limits.
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": {
"filePath": "<filePath>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the document (default: the file's basename) | |
| filePath | Yes | Absolute path to the file on the local filesystem | |
| contentType | No | MIME type (default: inferred from the file extension — .pdf, .docx, .png, .jpg, .jpeg are recognised) |