Skip to content

HarnessSettings

← All HTTP 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\
maxOutputTokens no integer (int32) Gets the upper token limit produced in a single response. pattern `^-?(?:0\
maximumIterationsPerRequest no integer (int32) Gets the upper number of iterations allowed within a single request. pattern `^-?(?:0\
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.
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.