evidence_upload_url_create
Creates a presigned upload URL for an already-registered evidence record, letting you PUT the raw file bytes to complete the register-then-upload flow.
Instructions
Creates a fresh presigned upload URL for an already-registered evidence by evidenceId — step 2 of the register-then-upload flow (PUT the file bytes to the returned URL). Pairs with generate_evidence the way evidence_group_evidence_upload_url_create pairs with evidence_group_evidence_register. Requires: generate_evidence → evidenceId. 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>",
"fileName": "<fileName>"
},
"name": "evidence_upload_url_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | ||
| evidenceId | Yes | MANDATORY. UUID of the evidence record. Obtain from evidence_group_evidence_register or generate_evidence. |