Theia API Documentation v1.65.0
    Preparing search index...

    A tool that is available to the language model via LanguageModelChatRequestOptions. A language model uses all the properties of this interface to decide which tool to call, and how to call it.

    interface LanguageModelChatTool {
        description: string;
        inputSchema?: object;
        name: string;
    }
    Index

    Properties

    description: string

    The description of the tool.

    inputSchema?: object

    A JSON schema for the input this tool accepts.

    name: string

    The name of the tool.