Construct Attribution Primitive
aps_construct_attribution_primitiveBuild and sign a four-axis AttributionPrimitive for an agent action, covering data sources, protocol modules, delegation chain, and compute providers, and return the signed object.
Instructions
Build and sign a four-axis AttributionPrimitive for an action. Axes: D (data sources), P (protocol modules), G (delegation chain), C (compute providers). Returns the complete signed object.
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": {
"action": "<action>",
"axes": "<axes>",
"issuer": "<issuer>",
"issuer_private_key": "<issuer_private_key>"
},
"name": "aps_construct_attribution_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axes | Yes | Four-axis content. See spec §1.2 for entry shapes per axis. | |
| action | Yes | Action identity tuple; the action_ref is derived as sha256(canonical(this)) | |
| issuer | Yes | Issuer DID (gateway or agent producing the receipt) | |
| timestamp | No | ISO-8601 UTC with ms precision + Z (§2.5). Defaults to now(). | |
| issuer_private_key | Yes | Ed25519 private key hex that signs the envelope |