zipviz_sign_message
Sign a message locally with an agent's configured Ed25519 private key to produce a v=1 canonical-JSON envelope for /v1/verify, returning the base64 signature, timestamp, and signing_version.
Instructions
Sign a message locally with an agent's configured Ed25519 private key and the v=1 canonical-JSON envelope {v:1, from, message, timestamp} that api.zipviz.ai /v1/verify accepts. Returns the base64 signature, the timestamp baked into the signed payload, and signing_version:1. No network calls.
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": {
"viz_domain": "<viz_domain>",
"message": "<message>"
},
"name": "zipviz_sign_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message content to sign (UTF-8) | |
| key_path | No | NOT PERMITTED. This tool always signs with the configured local agent key. Passing key_path is rejected — it would let a caller sign with any PEM the process can read. | |
| timestamp | No | Optional ISO 8601 timestamp to bake into the signed payload. Defaults to `new Date().toISOString()` at sign time. Callers that need to send the timestamp alongside the signature (e.g. zipviz_send) should read it back from the return value. | |
| viz_domain | Yes | The .viz domain that owns the signing key, e.g. claudais.smc.viz |