agentskit.js

AdapterCapabilities

Auto-generated API reference for AdapterCapabilities.

Interface: AdapterCapabilities

Defined in: packages/core/src/types/adapter.ts:29

Hints about what an adapter supports. Every field is optional; an adapter may omit the whole capabilities object, and consumers should treat omission as 'unknown — assume the feature works and handle errors if it doesn't'.

This is an additive extension to the Adapter contract (ADR 0001) — adapters without capabilities remain fully compliant. Consumers that care (router / ensemble adapters, UI that hides the tool toggle when the provider can't use tools) can read the hints.

#Properties

#extensions?

optional extensions?: Record<string, unknown>

Defined in: packages/core/src/types/adapter.ts:43

Anything else — e.g. provider-specific hints.


#multiModal?

optional multiModal?: boolean

Defined in: packages/core/src/types/adapter.ts:37

Accepts image inputs in the message list?


#reasoning?

optional reasoning?: boolean

Defined in: packages/core/src/types/adapter.ts:35

Does it emit a separate reasoning/thinking stream (o1/o3 style)?


#streaming?

optional streaming?: boolean

Defined in: packages/core/src/types/adapter.ts:31

Does the adapter stream responses natively?


#structuredOutput?

optional structuredOutput?: boolean

Defined in: packages/core/src/types/adapter.ts:39

Supports confirmations / structured-output primitives?


#tools?

optional tools?: boolean

Defined in: packages/core/src/types/adapter.ts:33

Does it support tool calling (function calling)?


#usage?

optional usage?: boolean

Defined in: packages/core/src/types/adapter.ts:41

Emits token/usage data in chunk metadata?

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page