ToolPythonFunction constructor

const ToolPythonFunction({
  1. Input<String?>? description,
  2. Input<String?>? name,
  3. Input<String?>? pythonCode,
  4. Input<ToolPythonFunctionServiceDirectoryConfig?>? serviceDirectoryConfig,
})

Creates a new ToolPythonFunction. description (Output) name Optional. The name of the Python function to execute. Must match a Python function pythonCode Optional. The Python code to execute for the tool. serviceDirectoryConfig Service Directory configuration for the tool.

Implementation

const ToolPythonFunction({
  this.description,
  this.name,
  this.pythonCode,
  this.serviceDirectoryConfig,
});