Build Authority Evaluation Request
aps_capability_evaluate_authorityEvaluates a signed capability-token authority request, checking the M1 challenge, delegation chain, and token preimage so gateways can decide permit or deny.
Instructions
v0.1 capability-token authority evaluation request (M2). Subject signs a request carrying the sink's M1, the delegation chain, and a revealed authority-token preimage. The gateway consumes this to decide permit/deny. Search keywords: capability token, authority evaluation, M2.
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": {
"challenge": "<challenge>",
"delegation_chain": "<delegation_chain>",
"authority_token": "<authority_token>",
"freshness_beacon": "<freshness_beacon>",
"subject_private_key": "<subject_private_key>",
"subject_public_key": "<subject_public_key>"
},
"name": "aps_capability_evaluate_authority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| challenge | Yes | SinkChallenge object from M1 | |
| authority_token | Yes | ||
| delegation_chain | Yes | v2.x delegation envelopes | |
| freshness_beacon | Yes | ||
| subject_public_key | Yes | Subject Ed25519 public key (hex) | |
| subject_private_key | Yes | Subject Ed25519 private key (hex) | |
| delegation_chain_root | No | Override; otherwise computed from chain |