evidence_temp_file_upload_url_create
Create a presigned upload URL for a temporary, unregistered file so you can stage content that another operation will reference; upload the raw bytes yourself via PUT without an Authorization header.
Instructions
Creates a presigned upload URL for a TEMPORARY file not yet registered as evidence. Use for staging content that another operation will reference; for real evidence prefer the register-then-upload flow (evidence_group_evidence_register) or the evidence_create_sealed composite, which handle registration and upload together. Who uploads: this tool only returns the presigned URL — you must PUT the raw file bytes to it yourself (no Authorization header; the composite tools also send x-amz-checksum-sha256 with the base64 SHA-256 of the file). To have the server upload for you, use evidence_create_sealed with a FileInput file instead.
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": {
"evidenceId": "<evidenceId>",
"createdBy": "<createdBy>",
"title": "<title>",
"capturedAt": "<capturedAt>",
"fileName": "<fileName>",
"testimony": "<testimony>"
},
"name": "evidence_temp_file_upload_url_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| fileName | Yes | ||
| metadata | No | ||
| createdBy | Yes | ||
| testimony | Yes | ||
| capturedAt | Yes | ||
| caseFileId | No | MANDATORY. UUID of the parent case file. Obtain from evidence_case_file_create. | |
| evidenceId | Yes | MANDATORY. UUID of the evidence record. Obtain from evidence_group_evidence_register or generate_evidence. | |
| evidenceGroupId | No | MANDATORY. UUID of the evidence group. Obtain from evidence_group_create. | |
| requiredTestimonyProviders | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| expiration | No |