enquire-mcp API reference - v3.9.0-rc.4
    Preparing search index...

    Interface ValidateProposalResult

    Structured validation report returned by validateNoteProposal.

    ok is true iff errors is empty — warnings don't block the agent. wikilinks[*].suggestions carry did-you-mean hints for broken links so the LLM can fix-and-retry without writing a broken note.

    interface ValidateProposalResult {
        collision: {
            existing_path?: string;
            kind: "none" | "path-exists" | "title-exists-elsewhere";
        };
        errors: { kind: string; message: string }[];
        mode: "overwrite" | "create" | "append";
        ok: boolean;
        proposed_path: string;
        tags: { name: string; status: "existing" | "new" }[];
        warnings: { kind: string; message: string; suggestion?: string }[];
        wikilinks: {
            raw: string;
            resolved_path: string | null;
            status: "resolved" | "broken" | "ambiguous";
            suggestions: string[];
            target: string;
        }[];
        yaml: { error: string
        | null; keys: string[]; parsed: boolean };
    }
    Index

    Properties

    collision: {
        existing_path?: string;
        kind: "none" | "path-exists" | "title-exists-elsewhere";
    }
    errors: { kind: string; message: string }[]
    mode: "overwrite" | "create" | "append"
    ok: boolean
    proposed_path: string
    tags: { name: string; status: "existing" | "new" }[]
    warnings: { kind: string; message: string; suggestion?: string }[]
    wikilinks: {
        raw: string;
        resolved_path: string | null;
        status: "resolved" | "broken" | "ambiguous";
        suggestions: string[];
        target: string;
    }[]
    yaml: { error: string | null; keys: string[]; parsed: boolean }