Derive Mutual-Auth Session
mutualAuthDeriveSessionDerive a shared mutual-auth session record from both parties' Attests, returning a deterministic session_id with certificates and expiry bounds or a failure reason.
Instructions
Derive the shared mutual-auth session record from both sides' Attests. Both parties MUST compute identical session_id given identical inputs (canonical JCS + sha256 of chosen_version, both cert ids, both nonces). Returns a MutualAuthSession with session_id + both certificates + expiry bounds, or failure reason.
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": {
"agent_attest": "<agent_attest>",
"is_attest": "<is_attest>",
"policy": "<policy>"
},
"name": "mutualAuthDeriveSession"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now_ms | No | Current unix ms — defaults to Date.now() | |
| policy | Yes | MutualAuthPolicy | |
| is_attest | Yes | The information system's MutualAuthAttest | |
| agent_attest | Yes | The agent's MutualAuthAttest |