Interface: MoonshotTool
@providerprotocol/ai / moonshot / MoonshotTool
Interface: MoonshotTool
Section titled “Interface: 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.
Properties
Section titled “Properties”function
Section titled “function”function:
object
Defined in: src/providers/moonshot/types.ts:210
description
Section titled “description”description:
string
name:
string
parameters
Section titled “parameters”parameters:
object
parameters.additionalProperties?
Section titled “parameters.additionalProperties?”
optionaladditionalProperties:boolean
parameters.description?
Section titled “parameters.description?”
optionaldescription:string
parameters.properties
Section titled “parameters.properties”properties:
Record<string,unknown>
parameters.required?
Section titled “parameters.required?”
optionalrequired:string[]
parameters.type?
Section titled “parameters.type?”
optionaltype:"object"
strict?
Section titled “strict?”
optionalstrict:boolean
type:
"function"
Defined in: src/providers/moonshot/types.ts:209