Sign & Attach Cryptographic Agent Attestation
sign_agent_attestationCryptographically sign and attach HMAC-SHA256 provenance (agentId, model, runId, promptHash, confidenceScore, verifiedActor) plus optional PGP/Ed25519 client detached signatures onto a Pull Request.
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": {
"owner": "<owner>",
"repo": "<repo>",
"prNumber": "<prNumber>",
"agentId": "<agentId>",
"model": "<model>"
},
"name": "sign_agent_attestation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| model | Yes | Underlying foundation model identifier (e.g. "gemini-2.5-pro"). | |
| owner | Yes | Repository owner. | |
| runId | No | Execution trace or run identifier. | |
| agentId | Yes | Unique identifier for the autonomous agent (e.g. "claude-code-worker-1"). | |
| prNumber | Yes | Pull Request number. | |
| promptHash | No | SHA-256 hash of the user/orchestrator prompt. | |
| clientPublicKey | No | Optional armored PGP public key or PEM public key to verify `clientSignature`. | |
| clientSignature | No | Optional detached PGP or Ed25519/ECDSA signature. | |
| confidenceScore | No | ||
| clientSignatureAlgorithm | No |