ToolPythonFunction constructor
const
ToolPythonFunction({
- Input<
String?> ? description, - Input<
String?> ? name, - Input<
String?> ? pythonCode, - 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,
});