StopServerToolsWhenStepCountIs - TypeScript SDK

StopServerToolsWhenStepCountIs type definition

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

Stop after the agent loop has executed this many steps.

Example Usage

1import { StopServerToolsWhenStepCountIs } from "@openrouter/sdk/models";
2
3let value: StopServerToolsWhenStepCountIs = {
4 stepCount: 5,
5 type: "step_count_is",
6};

Fields

FieldTypeRequiredDescription
stepCountnumber✔️N/A
type”step_count_is”✔️N/A