Skip to content

Interface: MoonshotTool

@providerprotocol/ai


@providerprotocol/ai / moonshot / MoonshotTool

Defined in: src/providers/moonshot/types.ts:208

Tool definition for the Moonshot API. Used for both custom function tools and server-side builtin tools.

function: object

Defined in: src/providers/moonshot/types.ts:210

description: string

name: string

parameters: object

optional additionalProperties: boolean

optional description: string

properties: Record<string, unknown>

optional required: string[]

optional type: "object"

optional strict: boolean


type: "function"

Defined in: src/providers/moonshot/types.ts:209