@resistdesign/voltra
    Preparing search index...

    Type Alias MCPToolRoute

    MCPToolRoute: Route & {
        annotations?: MCPToolAnnotations;
        description?: string;
        inputTypeInfo?: TypeInfoPack;
        outputTypeInfo?: TypeInfoPack;
        title?: string;
    }

    A normal Voltra Route exposed as an MCP tool.

    The route path is also the MCP tool name. Its normal authConfig controls tool execution exactly as it would for any other Voltra route.

    Type Declaration

    • Optionalannotations?: MCPToolAnnotations

      MCP behavior hints such as read-only or destructive operation hints.

    • Optionaldescription?: string

      Description used by the model to decide when to call the tool.

    • OptionalinputTypeInfo?: TypeInfoPack

      Voltra TypeInfo contract for tool arguments.

      Voltra converts this to JSON Schema for MCP automatically.

    • OptionaloutputTypeInfo?: TypeInfoPack

      Optional Voltra TypeInfo contract for structured tool output.

      Voltra converts this to JSON Schema for MCP automatically.

    • Optionaltitle?: string

      Optional human-friendly title.