record_provenance
Records W3C PROV-O provenance events with activity type, agent, entity hashes, and system details to document data changes for governance auditing.
Instructions
Record a provenance event as a W3C PROV-O record. Returns the PROV record content.
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": {
"activity_type": "<activity_type>",
"agent_name": "<agent_name>"
},
"name": "record_provenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_ref | No | URI reference for the agent. | |
| entity_id | No | ID of the entity (DM.instance_id). | |
| system_id | No | System that produced this record. | |
| agent_name | Yes | Name of the agent performing the action. | |
| description | No | Human-readable description. | |
| activity_type | Yes | W3C Activity Streams 2.0 type (Create, Update, Accept, etc.) | |
| entity_hash_after | No | SHA-256 hash after action. | |
| entity_hash_before | No | SHA-256 hash before action. |