Approve or Deny Access Request
handle_access_requestApprove or deny pending secret access requests with a decision comment and optional start or expiration dates, then verify the updated request status.
Instructions
Approve or deny a pending secret access request.
Parameters
request_id:
Identifier of the access request to modify.
status:
Either "Approved" or "Denied".
response_comment:
Comment explaining the decision.
start_date, expiration_date:
Optional ISO date strings used when approving the request. If these
values are present in the object returned by
:func:get_pending_access_requests, include them by default unless
overridden.
Returns
dict
{"result": ... , "verification": ...} where result contains the
API response from the update call and verification contains the
request retrieved afterwards.
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": {
"request_id": "<request_id>",
"status": "<status>",
"response_comment": "<response_comment>"
},
"name": "handle_access_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| request_id | Yes | ||
| start_date | No | ||
| expiration_date | No | ||
| response_comment | Yes |