# HarnessSettings

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/http-api/schemas/harnesssettings/
> Summary: OpenAPI request or response schema for HarnessSettings, including required fields, defaults, constraints, and linked nested types.

[← All HTTP schemas](/http-api/schemas/)

Settings for the harness capabilities. It mirrors a safe subset of the
`HarnessAgentOptions` structure of Microsoft Agent Framework.

**Shape:** `object`

| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
| `maxContextWindowTokens` | no | `integer (int32)` | Gets the token limit of the context window. Compaction starts once it is exceeded. | pattern `^-?(?:0\\|[1-9]\d*)$` |
| `maxOutputTokens` | no | `integer (int32)` | Gets the upper token limit produced in a single response. | pattern `^-?(?:0\\|[1-9]\d*)$` |
| `maximumIterationsPerRequest` | no | `integer (int32)` | Gets the upper number of iterations allowed within a single request. | pattern `^-?(?:0\\|[1-9]\d*)$` |
| `harnessInstructions` | no | `string` | Gets the extra instructions passed to the harness. | — |
| `disableCompaction` | no | `boolean` | Gets a value that turns off context compaction. | — |
| `disableTodoProvider` | no | `boolean` | Gets a value that turns off todo tracking. | — |
| `disableFileMemory` | no | `boolean` | Gets a value that turns off file memory. | — |
| `disableWebSearch` | no | `boolean` | Gets a value that turns off web search. | — |
| `enableWebSearch` | no | `boolean` | Gets a value that turns on the model provider's hosted web search. | — |
| `disableToolAutoApproval` | no | `boolean` | Gets a value that turns off automatic tool approval. Once turned off, every tool call waits for an explicit approval. | — |
| `disableAgentSkillsProvider` | no | `boolean` | Gets a value that turns off the agent skills provider. | — |
| `disableAgentModeProvider` | no | `boolean` | Gets a value that turns off the agent mode provider. | — |
| `loop` | no | `null` oneOf [`LoopSettings`](/http-api/schemas/loopsettings/) | — | — |
