Home / Servers / DigitalOcean API / gateway_session_approvals_update

Decide a Pending Approval

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Decide a Pending Approval Approves or denies a tool call that is waiting for approval. A tool result returns _meta.status set to requires_approval when the session policy sets ask for the call, and its _meta.decide gives… [POST /approvals/session/{session_id}/{approval_id}]

Name on the gateway: digitalocean_api__gateway_session_approvals_update · may change things.

Parameters

NameTypeDescription
session_id requiredstringThe session UUID: the value at the end of the session's…
approval_id requiredstringThe approval_id from a tool result whose _meta.status is…
decision requiredapprove | denyWhether to let the pending call run.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__gateway_session_approvals_update",
  "arguments": {
    "session_id": "…",
    "approval_id": "…",
    "decision": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the decide a pending approval tool with session_id set to ….

More from DigitalOcean API