upload_evidence
Upload an evidence file to a leaf control in an executed assessment run to attach supporting documentation for compliance.
Instructions
Upload evidence file to ComplianceCow assessment run control
Purpose: Create evidence in an executed assessment run by attaching a file
Args:
runId (str): Assessment run(aka Plan instance) ID from the executed assessment run
runControlId (str): Leaf control ID in the Assessment run where evidence will be attached
filePath (str, optional): Full file system path to the evidence file to upload
fileBytes (str, optional): Base64 encoded file content
fileName (str, optional): Name of the file when using fileBytes
Returns:
str: Success message with evidence ID, or error message
Note: Either provide filePath OR both fileBytes and fileName must be provided.
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": {
"runId": "<runId>",
"runControlId": "<runControlId>"
},
"name": "upload_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| runControlId | Yes | ||
| filePath | No | ||
| fileBytes | No | ||
| fileName | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |