CF Workers Telegram Bot - v12.6.20
    Preparing search index...

    Variable fetchToolConst

    fetchTool: {
        description: string;
        function: (
            __namedParameters: {
                body?: string;
                headers?: Record<string, string>;
                method?: string;
                url: string;
            },
        ) => Promise<string>;
        name: string;
        parameters: {
            properties: {
                body: { description: string; type: string };
                headers: { description: string; type: string };
                method: { default: string; enum: string[]; type: string };
                url: { description: string; type: string };
            };
            required: string[];
            type: string;
        };
    } = ...

    Type Declaration

    • description: string
    • function: (
          __namedParameters: {
              body?: string;
              headers?: Record<string, string>;
              method?: string;
              url: string;
          },
      ) => Promise<string>
    • name: string
    • parameters: {
          properties: {
              body: { description: string; type: string };
              headers: { description: string; type: string };
              method: { default: string; enum: string[]; type: string };
              url: { description: string; type: string };
          };
          required: string[];
          type: string;
      }