owp_sign_payload
Sign a canonical OpenWorkProof payload using an Ed25519 private key, adding signature_alg, signer_key_id, digest, and signature fields for verifiable proof.
Instructions
Sign a canonical OpenWorkProof payload with an Ed25519 private key.
Args:
object_type: One of the allowed signed domains (call
owp_list_domains to see the list).
payload: JSON string of the unsigned payload object.
private_key_hex: The Ed25519 private key as a hex string.
Returns:
The signed payload dict with signature_alg, signer_key_id,
digest, and signature fields added.
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": {
"object_type": "<object_type>",
"payload": "<payload>",
"private_key_hex": "<private_key_hex>"
},
"name": "owp_sign_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | ||
| object_type | Yes | ||
| private_key_hex | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||