Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.22 KB

tool.md

File metadata and controls

23 lines (18 loc) · 1.22 KB

Tool

Example Usage

import { Tool } from "@mistralai/mistralai/models/components";

let value: Tool = {
  function: {
    name: "<value>",
    parameters: {
      "key": "<value>",
    },
  },
};

Fields

Field Type Required Description
type components.ToolTypes N/A
function components.FunctionT ✔️ N/A