Frodo Library - v4.5.0
    Preparing search index...

    Type Alias McpCapabilityDescriptor

    Canonical capability descriptor produced by inventory/registry builders.

    type McpCapabilityDescriptor = {
        annotations: McpToolAnnotations;
        argumentMode?: McpCapabilityArgumentMode;
        deploymentTypes: McpDeploymentType[];
        destructive: boolean;
        domain: string;
        id: string;
        identitySurface?: McpIdentitySurface;
        kind: McpCapabilityKind;
        methodName: string;
        modulePath: string[];
        mutating: boolean;
        notes?: string;
        objectType: string;
        objectTypePatterns?: string[];
        operationType: McpCapabilityOperationType;
        parameters?: McpCapabilityParameter[];
        preferredDeploymentTypes?: McpDeploymentType[];
        requiredCredential?: McpRequiredCredential;
        requiredScopes: string[];
        riskClass: McpCapabilityRiskClass;
        scope?: McpCapabilityScope;
        semanticAliases?: string[];
        supportsIncludeTotal?: boolean;
        supportsPaging?: boolean;
        supportsRealm?: boolean;
        toolName: string;
    }
    Index

    Properties

    annotations: McpToolAnnotations

    Optional MCP-facing argument contract for this capability.

    deploymentTypes: McpDeploymentType[]

    Deployment families where this capability is functional. Defaults to ['any'].

    destructive: boolean
    domain: string
    id: string
    identitySurface?: McpIdentitySurface

    Identity surface this capability operates on. Set from OperationCapabilityMeta.identitySurface when available.

    methodName: string
    modulePath: string[]
    mutating: boolean
    notes?: string

    Optional human-readable note surfaced in discovery and validation output.

    objectType: string
    objectTypePatterns?: string[]

    Glob-style object type patterns this capability applies to. Set from OperationCapabilityMeta.objectTypePatterns when available.

    parameters?: McpCapabilityParameter[]

    Optional ordered/named parameter metadata for this capability.

    preferredDeploymentTypes?: McpDeploymentType[]

    Deployment families where this capability is the preferred/optimal choice. Set from OperationCapabilityMeta.preferredDeploymentTypes when available; absent when no explicit preference has been declared.

    requiredCredential?: McpRequiredCredential

    A credential beyond the standard AM/IDM bearer token this capability requires. When set, the runtime verifies it's present on the dispatching Frodo instance's state before invoking the descriptor, and fails fast with an actionable error instead of letting the underlying API call 401. Set from OperationCapabilityMeta.requiredCredential when available.

    requiredScopes: string[]

    Optional selector value used to disambiguate generic capabilities.

    semanticAliases?: string[]

    Curated natural-language phrases used to retrieve this capability.

    supportsIncludeTotal?: boolean

    Whether the generic tool supports includeTotal for this capability.

    supportsPaging?: boolean

    Whether the generic tool supports paging hints for this capability.

    supportsRealm?: boolean

    Whether the generic tool supports realm override for this capability.

    toolName: string