"_meta", ]; /** * Metadata for the tool. * * @var array[] */ public $meta; protected $annotationsType = ToolAnnotations::class; protected $annotationsDataType = ''; /** * List of tool names that this tool depends on. * * @var string[] */ public $dependsOn; /** * Description of the tool. * * @var string */ public $description; protected $inputSchemaType = JsonSchema::class; protected $inputSchemaDataType = ''; /** * Name of the tool. * * @var string */ public $name; protected $outputSchemaType = JsonSchema::class; protected $outputSchemaDataType = ''; /** * Metadata for the tool. * * @param array[] $meta */ public function setMeta($meta) { $this->meta = $meta; } /** * @return array[] */ public function getMeta() { return $this->meta; } /** * Annotations for the tool. * * @param ToolAnnotations $annotations */ public function setAnnotations(ToolAnnotations $annotations) { $this->annotations = $annotations; } /** * @return ToolAnnotations */ public function getAnnotations() { return $this->annotations; } /** * List of tool names that this tool depends on. * * @param string[] $dependsOn */ public function setDependsOn($dependsOn) { $this->dependsOn = $dependsOn; } /** * @return string[] */ public function getDependsOn() { return $this->dependsOn; } /** * Description of the tool. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * JSON schema for the input parameters of the tool. * * @param JsonSchema $inputSchema */ public function setInputSchema(JsonSchema $inputSchema) { $this->inputSchema = $inputSchema; } /** * @return JsonSchema */ public function getInputSchema() { return $this->inputSchema; } /** * Name of the tool. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * JSON schema for the output of the tool. * * @param JsonSchema $outputSchema */ public function setOutputSchema(JsonSchema $outputSchema) { $this->outputSchema = $outputSchema; } /** * @return JsonSchema */ public function getOutputSchema() { return $this->outputSchema; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Tool::class, 'Google_Service_Connectors_Tool');