Skip to main content

@wildix/wim-tools-client > ToolVariable

ToolVariable interface

Signature:

export interface ToolVariable 

Properties

Property

Modifiers

Type

Description

description?

string | undefined

(Optional) Original description from MCP tool schema (preserved)

name

string

Name of the tool variable, e.g.: 'myvar'

optional

boolean

Whether the variable is optional

schema?

__DocumentType | undefined

(Optional) JSON Schema in case if type is schema

type

ToolVariableType

Type of the tool variable, e.g.: 'string', 'number', 'boolean', 'string_array', 'number_array'