Tool permissions

Allow once or deny your pending tool approval

Changed on

Allows a waiting tool call once, or denies it. Only the person who was asked can decide; a 409 means it was already decided.

post/v1/tool-approvals/{approvalId}/decision

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

approvalId, string required

Request body

DecideToolApproval required
decision, 'deny' | 'allow_once' required

Response

Success.

ToolApproval required
id, string required
context, object required
runId, string nullable required
connectionId, string required
connectionName, string required
toolName, string required
toolTitle, string required
status, 'pending' | 'denied' | 'allowed_once' | 'always_allowed' | 'used' required
createdAt, string date-time required

Changes