Issue Capability Sink Challenge
aps_capability_issue_challengeIssue a signed canonical action statement and return its challenge hash so a gateway can bind later policy evaluation to the exact action the sink authored.
Instructions
v0.1 capability-token sink challenge (M1). Sink issues a signed canonical action statement. Returns the SinkChallenge and its challenge_hash. Used to bind the gateway's later policy evaluation to a specific action the sink authored. Search keywords: capability token, sink challenge, M1.
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": {
"sink_id": "<sink_id>",
"subject_id": "<subject_id>",
"action": "<action>",
"sink_private_key": "<sink_private_key>",
"sink_public_key": "<sink_public_key>"
},
"name": "aps_capability_issue_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Canonical action statement | |
| sink_id | Yes | DID of the sink issuing the challenge | |
| subject_id | Yes | DID of the subject the challenge is addressed to | |
| sink_public_key | Yes | Sink Ed25519 public key (hex) | |
| sink_private_key | Yes | Sink Ed25519 private key (hex) | |
| validity_seconds | No | ||
| required_policy_freshness | No |