Skip to content

TypeScript API / contentia/server/mcp / buildSpecIndex

Function: buildSpecIndex() ​

ts
function buildSpecIndex(source): string;

Compact operation listing, grouped by tag. This is what a model reads first: enough to choose an endpoint, small enough to never be the reason a context window fills up.

Parameters ​

ParameterType
sourceOpenApiDocument

Returns ​

string