# WebAccessOverride

A run's override of one agent's web tools (or every agent's, when `agentName` is null): each member true (on), false (off) or null (as the interaction and agent decide). An override naming an agent beats one naming none, and both beat the interaction's per-participant setting and the agent's own flags.

**Kind:** an object, used in requests and responses. In a request it is called `WebAccessOverrideInput`.

## In a request

| Field | Type | Required | Description |
|---|---|---|---|
| `agentName` | `string \| null` |  | The participant (agent name in the interaction) this applies to; null for every participant. Constraints: maxLength: 200. |
| `search` | `boolean \| null` |  | The `WebSearch` tool: true on, false off, null as the interaction and agent decide. |
| `fetch` | `boolean \| null` |  | The `WebFetch` and `WebRead` tools: true on, false off, null as the interaction and agent decide. |

```json
{
  "agentName": "...",
  "search": false,
  "fetch": false
}
```

## In a response

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `agentName` | `string \| null` | The participant (agent name in the interaction) this applies to; null for every participant. Constraints: maxLength: 200. |
| `search` | `boolean \| null` | The `WebSearch` tool: true on, false off, null as the interaction and agent decide. |
| `fetch` | `boolean \| null` | The `WebFetch` and `WebRead` tools: true on, false off, null as the interaction and agent decide. |

```json
{
  "agentName": "...",
  "search": false,
  "fetch": false
}
```

## Where it's used

- Inside [`AppProcess`](https://docs.maitento.com/reference/types/app-process.md)
- Inside [`AppProcessWithDetails`](https://docs.maitento.com/reference/types/app-process-with-details.md)
- Inside [`AppStartRequest`](https://docs.maitento.com/reference/types/app-start-request.md)
- Inside [`InteractionProcess`](https://docs.maitento.com/reference/types/interaction-process.md)
- Inside [`InteractionProcessStartRequest`](https://docs.maitento.com/reference/types/interaction-process-start-request.md)
- Inside [`InteractionProcessWithDetails`](https://docs.maitento.com/reference/types/interaction-process-with-details.md)
