upload_attachment
Upload file attachments for provisioned users. Use the returned attachment ID to submit documents for compliance inquiries.
Instructions
Uploads a file attachment for a provisioned user. The attachment ID can then be passed to respond_to_inquiry_entry via all_attachment_id to submit documents for a compliance inquiry. Supported types: image/png, image/jpeg, image/gif, application/pdf. Note: the actual file bytes must be sent as raw binary — provide the file path.
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_id": "<user_id>",
"description": "<description>",
"content_type": "<content_type>",
"base64_content": "<base64_content>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ID of the provisioned user. | |
| description | Yes | Human-readable description of the file. | |
| content_type | Yes | MIME type of the file. | image/jpeg |
| base64_content | Yes | Base64-encoded file content. |