[DOCS] Agent SDK TypeScript `ModelInfo` type missing capability fields added in 2.1.49

Resolved 💬 2 comments Opened Feb 19, 2026 by coygeek Closed Feb 27, 2026

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://platform.claude.com/docs/en/agent-sdk/typescript

Section/Topic

ModelInfo type definition and supportedModels() return shape documentation.

Current Documentation

Current docs define ModelInfo as:

type ModelInfo = { value: string; displayName: string; description: string; }

What's Wrong or Missing?

Claude Code v2.1.49 adds supportsEffort, supportedEffortLevels, and supportsAdaptiveThinking to SDK model info.

The TypeScript Agent SDK reference does not include these fields, so generated typings/examples based on the docs can miss capability checks now available to SDK consumers.

Suggested Improvement

Update the TypeScript Agent SDK reference:

  1. Extend ModelInfo with:
  • supportsEffort
  • supportedEffortLevels
  • supportsAdaptiveThinking
  1. Clarify field semantics and possible values.
  2. Add a short supportedModels() example showing capability-based model filtering.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

| Page | Line(s) | Context |
|------|---------|---------|
| https://platform.claude.com/docs/en/agent-sdk/typescript | 1917-1926 | ModelInfo omits capability fields now returned by SDK |

Total scope: 1 page affected

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗