Answer a permission request
permissionApprove or deny pending tool-permission requests by passing the optionId to allow or omitting it to reject.
Instructions
Grant or deny a pending tool-permission request surfaced by poll (used when permission=operator — the calling agent decides). Pass optionId to approve, omit to deny.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subagent handle returned by spawn, e.g. 'coder-auth' | |
| optionId | No | The optionId from pendingPermission.options to select |