> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# InternApprovalMode

How the run started by this prompt handles tool approvals. `self-drive` (the default when omitted) consents on your behalf and runs the shell unsandboxed. `manual` asks you before an approval-bearing tool runs, as an `openrouter.provide_input` permission request, and keeps the shell sandboxed until an escalation is allowed. The mode applies to the run this prompt starts and is not remembered by the session. Repeat it on each new prompt that should use it. A `tool` reply continues the run under the mode it started with.

## Example Usage

```go theme={null}
import (
	"github.com/OpenRouterTeam/go-sdk/models/components"
)

value := components.InternApprovalModeManual

// Open enum: custom values can be created with a direct type cast
custom := components.InternApprovalMode("custom_value")
```

## Values

| Name                          | Value      |
| ----------------------------- | ---------- |
| `InternApprovalModeManual`    | manual     |
| `InternApprovalModeSelfDrive` | self-drive |
