grant_approval
Approve pending challenges and mint authorized child credentials using OIDC identity tokens for secure delegation in attestation workflows.
Instructions
Approve a pending approval challenge and mint the HITL-authorized child credential. Use this only when a human approver has already authenticated and you have their OIDC identity token; for status checks use get_approval instead. This changes system state, consumes the pending approval, and returns the delegated token that should be used for the gated step.
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_id": "<challenge_id>",
"id_token": "<id_token>"
},
"name": "grant_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| challenge_id | Yes | Approval challenge ID | |
| id_token | Yes | OIDC identity token from the approver |