StopServerToolsWhenMaxTokensUsed - Python SDK

StopServerToolsWhenMaxTokensUsed method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Stop once cumulative token usage across the loop exceeds this threshold.

Fields

FieldTypeRequiredDescription
max_tokensint✔️N/A
typecomponents.StopServerToolsWhenMaxTokensUsedType✔️N/A