InteractsWithApprovals
trait InteractsWithApprovals
Properties
| protected Approval|bool|null | $approvalRequirement |
Methods
requireApproval(string|null $reason = null)
Indicate that the tool requires approval before execution.
withoutApproval()
Indicate that the tool may execute without approval.
Approval|null
shouldRequestApproval(Request $request)
Determine whether the tool should request approval for the given request.
Approval|bool
Details
at line 17
InteractsWithApprovals
requireApproval(string|null $reason = null)
Indicate that the tool requires approval before execution.
at line 27
InteractsWithApprovals
withoutApproval()
Indicate that the tool may execute without approval.