Spektrum API Reference - v1.2.0
    Preparing search index...

    Interface FnMeta

    Optional metadata attached to a defineFn registration. Surfaced via describe() and the MCP tool catalog so agents see what each fn does and what arguments it expects without reading the source.

    interface FnMeta {
        description?: string;
        examples?: any[];
        input?: any;
        output?: any;
    }
    Index

    Properties

    description?: string

    Human-readable description of what the fn does.

    examples?: any[]

    Optional usage examples.

    input?: any

    Free-form input schema (typically JSON Schema).

    output?: any

    Free-form output schema (typically JSON Schema).