Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Tool

import type { Tool } from "https://googleapis.deno.dev/v1/connectors:v2.ts";

Message representing a single tool.

interface Tool {
dependsOn?: string[];
description?: string;
inputSchema?: JsonSchema;
name?: string;
outputSchema?: JsonSchema;
}

§Properties

§
dependsOn?: string[]
[src]

List of tool names that this tool depends on.

§
description?: string
[src]

Description of the tool.

§
inputSchema?: JsonSchema
[src]

JSON schema for the input parameters of the tool.

§
name?: string
[src]

Name of the tool.

§
outputSchema?: JsonSchema
[src]

JSON schema for the output of the tool.