Tool permissions
Allow once or deny your pending tool approval
Changed onAllows 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 URLhttps://api.openworklabs.com
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
approvalId, string required
Request body
Decide Tool Approval required
decision, 'deny' | 'allow_once' required
Response
Success.
Tool Approval 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
- info
endpoint added
- info