parameters
TypeScriptget parameters(): GenerationSchemaSwift declarationvar parameters: GenerationSchema { get set }A schema that specifies the parameters of the tool.
struct · iOS 26.0+ · SDK 27.1
struct ToolDefinitionA definition of a tool.
get parameters(): GenerationSchemaSwift declarationvar parameters: GenerationSchema { get set }A schema that specifies the parameters of the tool.
set parameters(value: GenerationSchema)Swift declarationvar parameters: GenerationSchema { get set }A schema that specifies the parameters of the tool.
get description(): stringSwift declarationvar description: StringA description of how and when to use the tool.
set description(value: string)Swift declarationvar description: StringA description of how and when to use the tool.
static init(name: string, description: string, parameters: GenerationSchema): Transcript_ToolDefinitionSwift declarationinit(name: String, description: String, parameters: GenerationSchema)get name(): stringSwift declarationvar name: StringThe tool's name.
set name(value: string)Swift declarationvar name: StringThe tool's name.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
Transcript.ToolDefinition.init(tool:)
This protocol needs associated types that cannot yet cross the bridge.