[DOCS] Agent SDK TypeScript `ModelInfo` type missing capability fields added in 2.1.49
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:
- Extend
ModelInfowith:
supportsEffortsupportedEffortLevelssupportsAdaptiveThinking
- Clarify field semantics and possible values.
- 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
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗